summaryrefslogtreecommitdiff
path: root/resources/jquery.effects/jquery.effects.bounce.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/jquery.effects/jquery.effects.bounce.js')
-rw-r--r--resources/jquery.effects/jquery.effects.bounce.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/jquery.effects/jquery.effects.bounce.js b/resources/jquery.effects/jquery.effects.bounce.js
index f8e44730..7927a4a9 100644
--- a/resources/jquery.effects/jquery.effects.bounce.js
+++ b/resources/jquery.effects/jquery.effects.bounce.js
@@ -1,7 +1,7 @@
-/*
- * jQuery UI Effects Bounce 1.8.17
+/*!
+ * jQuery UI Effects Bounce 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
*
@@ -32,7 +32,7 @@ $.effects.bounce = 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}) / 3 : el.outerWidth({margin:true}) / 3);
+ var distance = o.options.distance || (ref == 'top' ? el.outerHeight(true) / 3 : el.outerWidth(true) / 3);
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
if (mode == 'hide') distance = distance / (times * 2);
if (mode != 'hide') times--;