summaryrefslogtreecommitdiff
path: root/xstatic/pkg/jquery_ui/data/ui/jquery.effects.drop.js
diff options
context:
space:
mode:
Diffstat (limited to 'xstatic/pkg/jquery_ui/data/ui/jquery.effects.drop.js')
-rw-r--r--xstatic/pkg/jquery_ui/data/ui/jquery.effects.drop.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/xstatic/pkg/jquery_ui/data/ui/jquery.effects.drop.js b/xstatic/pkg/jquery_ui/data/ui/jquery.effects.drop.js
index c674cca..97e5abd 100644
--- a/xstatic/pkg/jquery_ui/data/ui/jquery.effects.drop.js
+++ b/xstatic/pkg/jquery_ui/data/ui/jquery.effects.drop.js
@@ -1,7 +1,7 @@
-/*
- * jQuery UI Effects Drop 1.8.18
+/*!
+ * jQuery UI Effects Drop 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.drop = function(o) {
$.effects.createWrapper(el); // 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}) / 2 : el.outerWidth({margin:true}) / 2);
+ var distance = o.options.distance || (ref == 'top' ? el.outerHeight( true ) / 2 : el.outerWidth( true ) / 2);
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
// Animation