diff --git a/.jshintignore b/.jshintignore index 3dce1dfc9..9a7d8b1c7 100644 --- a/.jshintignore +++ b/.jshintignore @@ -19,6 +19,7 @@ www/pad/wysiwygarea-plugin.js www/pad/mediatag-plugin.js www/pad/mediatag-plugin-dialog.js www/pad/disable-base64.js +www/pad/wordcount/ www/kanban/jkanban.js www/common/jscolor.js diff --git a/www/pad/inner.js b/www/pad/inner.js index 8b73510b2..5db93837c 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -843,7 +843,7 @@ define([ var wordCount = h('span.cp-app-pad-wordCount'); $('.cke_toolbox_main').append(wordCount); - editor.on('cp-wc-update', function (event) { + editor.on('cp-wc-update', function () { if (!editor.wordCount || typeof (editor.wordCount.wordCount) === "undefined") { wordCount.innerText = ''; return;