Ensure the editor height is saved properly, props jupiterwise, see #28000, for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@28193 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2014-04-24 04:10:51 +00:00
parent fff29139b5
commit d19f7a398e
1 changed files with 1 additions and 1 deletions

View 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;