From 15036c7d857505d52a6a74aa92c6e9b8f1f2d17c Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Fri, 18 Mar 2016 09:07:56 +0000 Subject: [PATCH] Make variable declaration less verbose --- js/wysiwyg/crm.ckeditor.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/wysiwyg/crm.ckeditor.js b/js/wysiwyg/crm.ckeditor.js index c50b5b53bb..c684a5140c 100644 --- a/js/wysiwyg/crm.ckeditor.js +++ b/js/wysiwyg/crm.ckeditor.js @@ -68,10 +68,7 @@ $(item).addClass('crm-wysiwyg-enabled'); - var isFullPage = false; - if ($(item).hasClass('crm-wysiwyg-fullpage')) { - isFullPage = true; - } + var isFullPage = $(item).hasClass('crm-wysiwyg-fullpage'); CKEDITOR.replace($(item)[0], { filebrowserBrowseUrl: browseUrl + '&type=files', -- 2.25.1