From 85ab1548dc90fdd51dacca8f0ff5297858523ece Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 14 May 2008 04:07:42 +0000 Subject: [PATCH] Word count detection fix from ramenboy. fixes #6967 git-svn-id: https://develop.svn.wordpress.org/trunk@7929 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js b/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js index fce3605253..cd4c71e22b 100644 --- a/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js +++ b/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js @@ -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;