summaryrefslogtreecommitdiff
path: root/resources/jquery.effects/jquery.effects.drop.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/jquery.effects/jquery.effects.drop.js')
-rw-r--r--resources/jquery.effects/jquery.effects.drop.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/jquery.effects/jquery.effects.drop.js b/resources/jquery.effects/jquery.effects.drop.js
index 4bbd1087..6d25bd30 100644
--- a/resources/jquery.effects/jquery.effects.drop.js
+++ b/resources/jquery.effects/jquery.effects.drop.js
@@ -1,7 +1,7 @@
-/*
- * jQuery UI Effects Drop 1.8.17
+/*!
+ * jQuery UI Effects Drop 1.8.23
*
- * 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