WordPress.org

Make WordPress Core

Changeset 28193


Ignore:
Timestamp:
04/24/2014 04:10:51 AM (5 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/post.js

    r28070 r28193  
    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.