mirror of
git://develop.git.wordpress.org/
synced 2025-02-11 18:41:37 +01: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:
parent
c0a61efdad
commit
7ddfa7c135
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user