Make WordPress Core

Changeset 28200


Ignore:
Timestamp:
04/24/2014 09:41:51 PM (11 years ago)
Author:
nacin
Message:

Ensure the editor height is saved properly as an integer.

Merges [28193] to the 3.9 branch.

props jupiterwise.
fixes #28000.

Location:
branches/3.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

  • branches/3.9/src/wp-admin/js/post.js

    r28070 r28200  
    10261026            if ( mce ) {
    10271027                editor.focus();
    1028                 toolbarHeight = $( '#wp-content-editor-container .mce-toolbar-grp' ).height();
     1028                toolbarHeight = parseInt( $( '#wp-content-editor-container .mce-toolbar-grp' ).height(), 10 );
    10291029
    10301030                if ( toolbarHeight < 10 || toolbarHeight > 200 ) {
Note: See TracChangeset for help on using the changeset viewer.