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:
Ryan Boren 2008-05-14 04:07:42 +00:00
parent b0eb02a7ff
commit 85ab1548dc
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;