aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.fold.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-05-14 11:49:44 +0200
committerFelix Nagel <info@felixnagel.com>2012-05-14 11:49:44 +0200
commit41dfb09aeb5df7d53089b58959d21207de63edbe (patch)
tree22053c8f7ddff61f3dfdaed028ef2e2d1a6b68c6 /ui/jquery.effects.fold.js
parentec5f2ae34ada562903b919d86221d03c9b193a0e (diff)
parent037db084f20d952558e4529a8b7394d562241a97 (diff)
downloadjquery-ui-41dfb09aeb5df7d53089b58959d21207de63edbe.tar.gz
jquery-ui-41dfb09aeb5df7d53089b58959d21207de63edbe.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.effects.fold.js')
-rw-r--r--ui/jquery.effects.fold.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/jquery.effects.fold.js b/ui/jquery.effects.fold.js
index 3642edf3f..17aa9a36b 100644
--- a/ui/jquery.effects.fold.js
+++ b/ui/jquery.effects.fold.js
@@ -1,4 +1,4 @@
-/*
+/*!
* jQuery UI Effects Fold @VERSION
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
@@ -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();