TinyMCE: Set undefined FloatPanel zIndex
See [40995] for the Customizer. Fixes #42322. Built from https://develop.svn.wordpress.org/trunk@41993 git-svn-id: http://core.svn.wordpress.org/trunk@41827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
226263bfec
commit
abc1579a42
@ -1,7 +1,7 @@
|
|||||||
/* global getUserSetting, setUserSetting */
|
/* global getUserSetting, setUserSetting */
|
||||||
( function( tinymce ) {
|
( function( tinymce ) {
|
||||||
// Set the minimum value for the modals z-index higher than #wpadminbar (100000)
|
// 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;
|
tinymce.ui.FloatPanel.zIndex = 100100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-beta3-41992';
|
$wp_version = '4.9-beta3-41993';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user