aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.effect-blind.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-11-13 19:45:56 +0100
committerFelix Nagel <info@felixnagel.com>2013-11-13 19:45:56 +0100
commitab2219b6ac3dbab58885a0bd2aaac01c4bcc1c2f (patch)
treededf39afe3330bae4eec603297432d972e5bcfc1 /ui/jquery.ui.effect-blind.js
parenta6c5f58d8243b39c6cd57b76ffb0776adfcc8b1c (diff)
parent14782c04e2201c53e3ecb80b086f1a4c27aa991d (diff)
downloadjquery-ui-ab2219b6ac3dbab58885a0bd2aaac01c4bcc1c2f.tar.gz
jquery-ui-ab2219b6ac3dbab58885a0bd2aaac01c4bcc1c2f.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.effect-blind.js')
-rw-r--r--ui/jquery.ui.effect-blind.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/jquery.ui.effect-blind.js b/ui/jquery.ui.effect-blind.js
index f97de7413..e6f4b8a4c 100644
--- a/ui/jquery.ui.effect-blind.js
+++ b/ui/jquery.ui.effect-blind.js
@@ -13,12 +13,11 @@
*/
(function( $, undefined ) {
-var rvertical = /up|down|vertical/,
- rpositivemotion = /up|left|vertical|horizontal/;
-
$.effects.effect.blind = function( o, done ) {
// Create element
var el = $( this ),
+ rvertical = /up|down|vertical/,
+ rpositivemotion = /up|left|vertical|horizontal/,
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "hide" ),
direction = o.direction || "up",
@@ -76,7 +75,6 @@ $.effects.effect.blind = function( o, done ) {
done();
}
});
-
};
})(jQuery);