lint compliance

This commit is contained in:
yflory
2019-11-22 15:52:30 +01:00
parent a573255072
commit 65585f6ce8
2 changed files with 2 additions and 1 deletions

View File

@@ -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;