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:
ryan 2008-05-14 04:07:42 +00:00
parent 90973154fe
commit b76608029b
1 changed files with 1 additions and 1 deletions

View File

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