From e8bece27abbca237148754b8803f73c9b0b9a31a Mon Sep 17 00:00:00 2001 From: gnarf Date: Tue, 3 May 2011 08:45:21 -0500 Subject: [PATCH] effect.bounce: ignoring the margins for the height calc --- ui/jquery.effects.bounce.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.effects.bounce.js b/ui/jquery.effects.bounce.js index 550f433b9..f1093839f 100644 --- a/ui/jquery.effects.bounce.js +++ b/ui/jquery.effects.bounce.js @@ -53,7 +53,7 @@ $.effects.effect.bounce = function(o) { // default distance for the BIGGEST bounce is the outer Distance / 3 if ( !distance ) { - distance = el[ ref === "top" ? "outerHeight" : "outerWidth" ]({ margin:true }) / 3; + distance = el[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3; } if ( show ) { -- 2.39.5