Make WordPress Core

Ticket #42322: 42322.patch

File 42322.patch, 624 bytes (added by iseuldebot, 7 years ago)
  • src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

     
    11/* global getUserSetting, setUserSetting */
    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}
    77