diff options
author | gnarf <gnarf@gnarf.net> | 2011-05-03 08:51:53 -0500 |
---|---|---|
committer | gnarf <gnarf@gnarf.net> | 2011-05-03 08:51:53 -0500 |
commit | d5f6a71cfa1966b9d838b7589bb92ba29274d1aa (patch) | |
tree | cb7b68919f571ab654f972552ffdd48c5c318f8b /ui/jquery.effects.bounce.js | |
parent | e8bece27abbca237148754b8803f73c9b0b9a31a (diff) | |
download | jquery-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.js | 2 |
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 = {}; |