effect.bounce: ignoring the margins for the height calc

This commit is contained in:
gnarf 2011-05-03 08:45:21 -05:00
parent 34d9e038bd
commit e8bece27ab

View File

@ -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 ) {