diff options
-rw-r--r-- | ui/jquery.ui.effect-blind.js | 6 |
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); |