diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2024-05-13 18:11:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 18:11:57 +0200 |
commit | ac8b1e4eee8682e6825730c4823036a90031edad (patch) | |
tree | 6a4207cebc3138de51e6ec776e6d36117fd0a665 /ui/effect.js | |
parent | 969d182963347830a78b291198f6f183fb65d8e6 (diff) | |
download | jquery-ui-ac8b1e4eee8682e6825730c4823036a90031edad.tar.gz jquery-ui-ac8b1e4eee8682e6825730c4823036a90031edad.zip |
Core: Make back compat disabled by default
Closes gh-2250
Diffstat (limited to 'ui/effect.js')
-rw-r--r-- | ui/effect.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/effect.js b/ui/effect.js index 10cf8ed60..2232e041d 100644 --- a/ui/effect.js +++ b/ui/effect.js @@ -273,7 +273,7 @@ if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) { } )( $.expr.pseudos.animated ); } -if ( $.uiBackCompat !== false ) { +if ( $.uiBackCompat === true ) { $.extend( $.effects, { // Saves a set of properties in a data storage @@ -759,7 +759,7 @@ $.fn.extend( { // as toggle can be either show or hide depending on element state args.mode = modes.shift(); - if ( $.uiBackCompat !== false && !defaultMode ) { + if ( $.uiBackCompat === true && !defaultMode ) { if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) { // Call the core method to track "olddisplay" properly |