mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
TinyMCE: Set undefined FloatPanel zIndex
See [40995] for the Customizer. Fixes #42322. git-svn-id: https://develop.svn.wordpress.org/trunk@41993 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* global getUserSetting, setUserSetting */
|
||||
( function( tinymce ) {
|
||||
// Set the minimum value for the modals z-index higher than #wpadminbar (100000)
|
||||
if ( tinymce.ui.FloatPanel.zIndex < 100100 ) {
|
||||
if ( ! tinymce.ui.FloatPanel.zIndex || tinymce.ui.FloatPanel.zIndex < 100100 ) {
|
||||
tinymce.ui.FloatPanel.zIndex = 100100;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user