Word count detection fix from ramenboy. fixes #6967
git-svn-id: https://develop.svn.wordpress.org/trunk@7929 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b0eb02a7ff
commit
85ab1548dc
@ -133,7 +133,7 @@
|
||||
});
|
||||
|
||||
// Word count if script is loaded
|
||||
if ( 'undefined' != wpWordCount ) {
|
||||
if ( 'undefined' != typeof wpWordCount ) {
|
||||
var last = 0;
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
if ( e.keyCode == last ) return;
|
||||
|
Loading…
Reference in New Issue
Block a user