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

Built from https://develop.svn.wordpress.org/trunk@28193


git-svn-id: http://core.svn.wordpress.org/trunk@28023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-04-24 04:11:15 +00:00
parent 5de05f97dd
commit 46bdcce0eb
2 changed files with 2 additions and 2 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;

File diff suppressed because one or more lines are too long