} else {
            const comment = generateComment(parts.textarea.value);
            parts.textarea.value = '';
            emit('cancelComment', comment);
            closeInfoBox();