Make WordPress Core

Changeset 41993


Ignore:
Timestamp:
10/24/2017 04:51:50 PM (7 years ago)
Author:
iseulde
Message:

TinyMCE: Set undefined FloatPanel zIndex

See [40995] for the Customizer.
Fixes #42322.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

    r41643 r41993  
    22( function( tinymce ) {
    33// Set the minimum value for the modals z-index higher than #wpadminbar (100000)
    4 if ( tinymce.ui.FloatPanel.zIndex < 100100 ) {
     4if ( ! tinymce.ui.FloatPanel.zIndex || tinymce.ui.FloatPanel.zIndex < 100100 ) {
    55    tinymce.ui.FloatPanel.zIndex = 100100;
    66}
Note: See TracChangeset for help on using the changeset viewer.