Ensure the editor height is saved properly as an integer.
Merges [28193] to the 3.9 branch. props jupiterwise. fixes #28000. Built from https://develop.svn.wordpress.org/branches/3.9@28200 git-svn-id: http://core.svn.wordpress.org/branches/3.9@28030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df62215a18
commit
653bc12e2b
|
@ -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
Loading…
Reference in New Issue