From: Coleman Watts Date: Sat, 4 Apr 2015 02:07:54 +0000 (-0400) Subject: Js lint fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2240cf5c0b81883e374027333a8807f0b68e5cfb;p=civicrm-core.git Js lint fix --- diff --git a/templates/CRM/Contact/Page/View/Summary.js b/templates/CRM/Contact/Page/View/Summary.js index 6021ee449c..960ec099c1 100644 --- a/templates/CRM/Contact/Page/View/Summary.js +++ b/templates/CRM/Contact/Page/View/Summary.js @@ -11,7 +11,7 @@ // Copied from crm.ajax.js if (window.CKEDITOR && window.CKEDITOR.instances) { $.each(CKEDITOR.instances, function() { - this.updateElement && this.updateElement(); + if (this.updateElement) this.updateElement(); }); } if (window.tinyMCE && tinyMCE.editors) {