Skip to content

Commit e8bece2

Browse files
committed
effect.bounce: ignoring the margins for the height calc
1 parent 34d9e03 commit e8bece2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.effects.bounce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $.effects.effect.bounce = function(o) {
5353

5454
// default distance for the BIGGEST bounce is the outer Distance / 3
5555
if ( !distance ) {
56-
distance = el[ ref === "top" ? "outerHeight" : "outerWidth" ]({ margin:true }) / 3;
56+
distance = el[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;
5757
}
5858

5959
if ( show ) {

0 commit comments

Comments
 (0)