diff --git a/src/wp-admin/js/post.js b/src/wp-admin/js/post.js index 4eac7d1d9e..21f28e7d5e 100644 --- a/src/wp-admin/js/post.js +++ b/src/wp-admin/js/post.js @@ -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;