summaryrefslogtreecommitdiff
path: root/xstatic/pkg/jquery_ui/data/ui/jquery.effects.slide.js
diff options
context:
space:
mode:
Diffstat (limited to 'xstatic/pkg/jquery_ui/data/ui/jquery.effects.slide.js')
-rw-r--r--xstatic/pkg/jquery_ui/data/ui/jquery.effects.slide.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/xstatic/pkg/jquery_ui/data/ui/jquery.effects.slide.js b/xstatic/pkg/jquery_ui/data/ui/jquery.effects.slide.js
index d481a2a..502e6c9 100644
--- a/xstatic/pkg/jquery_ui/data/ui/jquery.effects.slide.js
+++ b/xstatic/pkg/jquery_ui/data/ui/jquery.effects.slide.js
@@ -1,7 +1,7 @@
-/*
- * jQuery UI Effects Slide 1.8.18
+/*!
+ * jQuery UI Effects Slide 1.8.24
*
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
@@ -28,7 +28,7 @@ $.effects.slide = function(o) {
$.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
- var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) : el.outerWidth({margin:true}));
+ var distance = o.options.distance || (ref == 'top' ? el.outerHeight( true ) : el.outerWidth( true ));
if (mode == 'show') el.css(ref, motion == 'pos' ? (isNaN(distance) ? "-" + distance : -distance) : distance); // Shift
// Animation