mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 10:59:07 +01:00
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
|
// Word count if script is loaded
|
||||||
if ( 'undefined' != wpWordCount ) {
|
if ( 'undefined' != typeof wpWordCount ) {
|
||||||
var last = 0;
|
var last = 0;
|
||||||
ed.onKeyUp.add(function(ed, e) {
|
ed.onKeyUp.add(function(ed, e) {
|
||||||
if ( e.keyCode == last ) return;
|
if ( e.keyCode == last ) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user