Skip to content
Permalink
Browse files

effect.bounce: ignoring the margins for the height calc

  • Loading branch information...
gnarf committed May 3, 2011
1 parent 34d9e03 commit e8bece27abbca237148754b8803f73c9b0b9a31a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 ) {

0 comments on commit e8bece2

Please sign in to comment.
You can’t perform that action at this time.