Word count detection fix from ramenboy. fixes #6967
git-svn-id: http://svn.automattic.com/wordpress/trunk@7929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
90973154fe
commit
b76608029b
|
@ -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