From 6ec6e1acf06399709c0e9982d4e20e6cf9b1bd30 Mon Sep 17 00:00:00 2001 From: Arcady Usov Date: Mon, 28 Apr 2014 18:57:14 +0600 Subject: [PATCH] Fix check equals. --- .../templates/cms/plugins/widgets/ckeditor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangocms_text_ckeditor/templates/cms/plugins/widgets/ckeditor.html b/djangocms_text_ckeditor/templates/cms/plugins/widgets/ckeditor.html index b39e055..dd854e9 100644 --- a/djangocms_text_ckeditor/templates/cms/plugins/widgets/ckeditor.html +++ b/djangocms_text_ckeditor/templates/cms/plugins/widgets/ckeditor.html @@ -55,7 +55,7 @@ $(document).ready(function () { // initialize ckeditor in admin inline for "add-row" link if ($('.add-row a').length > 0) { $('.add-row a').each(function() { - if ($(this).data('isInitCMSCKEditor') != 'yes') { + if ($(this).data('isInitCMSCKEditor') !== 'yes') { $(this).click(function() { initCMSCKEditor(); });