diff options
author | gnarf <gnarf@gnarf.net> | 2011-05-03 08:45:21 -0500 |
---|---|---|
committer | gnarf <gnarf@gnarf.net> | 2011-05-03 08:45:21 -0500 |
commit | e8bece27abbca237148754b8803f73c9b0b9a31a (patch) | |
tree | baf53ee9b6a90b08db9e55b052d098ca7a0e6673 /ui/jquery.effects.bounce.js | |
parent | 34d9e038bd03dcc8667b1ac12b687eec2209270f (diff) | |
download | jquery-ui-e8bece27abbca237148754b8803f73c9b0b9a31a.tar.gz jquery-ui-e8bece27abbca237148754b8803f73c9b0b9a31a.zip |
effect.bounce: ignoring the margins for the height calc
Diffstat (limited to 'ui/jquery.effects.bounce.js')
-rw-r--r-- | ui/jquery.effects.bounce.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |