aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effect.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/effect.js')
-rw-r--r--ui/effect.js4
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