aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.fold.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.effects.fold.js')
-rw-r--r--ui/jquery.effects.fold.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/jquery.effects.fold.js b/ui/jquery.effects.fold.js
index f33c2d050..17aa9a36b 100644
--- a/ui/jquery.effects.fold.js
+++ b/ui/jquery.effects.fold.js
@@ -23,11 +23,12 @@ $.effects.effect.fold = function( o, done ) {
size = o.size || 15,
percent = /([0-9]+)%/.exec( size ),
horizFirst = !!o.horizFirst,
- widthFirst = show != horizFirst,
+ widthFirst = show !== horizFirst,
ref = widthFirst ? [ "width", "height" ] : [ "height", "width" ],
duration = o.duration / 2,
wrapper, distance,
- animation1 = {}, animation2 = {};
+ animation1 = {},
+ animation2 = {};
$.effects.save( el, props );
el.show();