From b76608029bc5d1e63c57d6c4be4d2d7d83643392 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 14 May 2008 04:07:42 +0000 Subject: [PATCH] Word count detection fix from ramenboy. fixes #6967 git-svn-id: http://svn.automattic.com/wordpress/trunk@7929 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;