projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629fcb0
)
Make variable declaration less verbose
author
JKingsnorth
<john@johnkingsnorth.co.uk>
Fri, 18 Mar 2016 09:07:56 +0000
(09:07 +0000)
committer
JKingsnorth
<john@johnkingsnorth.co.uk>
Fri, 18 Mar 2016 09:07:56 +0000
(09:07 +0000)
js/wysiwyg/crm.ckeditor.js
patch
|
blob
|
blame
|
history
diff --git
a/js/wysiwyg/crm.ckeditor.js
b/js/wysiwyg/crm.ckeditor.js
index c50b5b53bb6bc95dab990260b33a89bd0f08226f..c684a5140c4da84febadf0e3a894401ba1b9bdf4 100644
(file)
--- 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',