mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
effects.bounce: Fixing hide bounce distance calculation
This commit is contained in:
parent
e8bece27ab
commit
d5f6a71cfa
2
ui/jquery.effects.bounce.js
vendored
2
ui/jquery.effects.bounce.js
vendored
@ -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 = {};
|
||||
|
Loading…
Reference in New Issue
Block a user