Ticket #6967: wpWordCount-detection-fix.patch
| File wpWordCount-detection-fix.patch, 0.5 kB (added by ramenboy, 7 months ago) |
|---|
-
plugins/wordpress/editor_plugin.js
old new 133 133 }); 134 134 135 135 // Word count if script is loaded 136 if ( 'undefined' != wpWordCount ) {136 if ( 'undefined' != typeof wpWordCount ) { 137 137 var last = 0; 138 138 ed.onKeyUp.add(function(ed, e) { 139 139 if ( e.keyCode == last ) return;
