aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.bounce.js
diff options
context:
space:
mode:
authorgnarf <gnarf@gnarf.net>2011-05-03 08:51:53 -0500
committergnarf <gnarf@gnarf.net>2011-05-03 08:51:53 -0500
commitd5f6a71cfa1966b9d838b7589bb92ba29274d1aa (patch)
treecb7b68919f571ab654f972552ffdd48c5c318f8b /ui/jquery.effects.bounce.js
parente8bece27abbca237148754b8803f73c9b0b9a31a (diff)
downloadjquery-ui-d5f6a71cfa1966b9d838b7589bb92ba29274d1aa.tar.gz
jquery-ui-d5f6a71cfa1966b9d838b7589bb92ba29274d1aa.zip
effects.bounce: Fixing hide bounce distance calculation
Diffstat (limited to 'ui/jquery.effects.bounce.js')
-rw-r--r--ui/jquery.effects.bounce.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.effects.bounce.js b/ui/jquery.effects.bounce.js
index f1093839f..bb386a4f4 100644
--- a/ui/jquery.effects.bounce.js
+++ b/ui/jquery.effects.bounce.js
@@ -69,7 +69,7 @@ $.effects.effect.bounce = function(o) {
// start at the smallest distance if we are hiding
if ( hide ) {
- distance = distance / ( ( times - 1 ) * 2 );
+ distance = distance / Math.pow( 2, times - 1 );
}
downAnim = {};