]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/post.js
WordPress 3.9.1
[autoinstalls/wordpress.git] / wp-admin / js / post.js
index 4eac7d1d9e007dbba23f8399ce549d5888d63a90..21f28e7d5e268bc3f91b4e1fec8b7b6681e761c4 100644 (file)
@@ -1025,7 +1025,7 @@ jQuery(document).ready( function($) {
 
                        if ( mce ) {
                                editor.focus();
-                               toolbarHeight = $( '#wp-content-editor-container .mce-toolbar-grp' ).height();
+                               toolbarHeight = parseInt( $( '#wp-content-editor-container .mce-toolbar-grp' ).height(), 10 );
 
                                if ( toolbarHeight < 10 || toolbarHeight > 200 ) {
                                        toolbarHeight = 30;