Commit 15036c7d authored by JKingsnorth's avatar JKingsnorth

Make variable declaration less verbose

parent 629fcb04
......@@ -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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment