]> source.dussan.org Git - jquery-ui.git/commitdiff
Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core
authorCorey Frang <gnarf@gnarf.net>
Fri, 20 Jul 2012 23:07:45 +0000 (18:07 -0500)
committerCorey Frang <gnarf@gnarf.net>
Fri, 20 Jul 2012 23:07:45 +0000 (18:07 -0500)
ui/jquery.ui.effect-drop.js

index 3246c09b0ca262bd0a7f3755a28989c1ab8c0388..674ef41ecc48c5c8d97775f732d4b74d5a4ca53e 100644 (file)
@@ -32,7 +32,7 @@ $.effects.effect.drop = function( o, done ) {
        el.show();
        $.effects.createWrapper( el );
 
-       distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]({ margin: true }) / 2;
+       distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]( true ) / 2;
 
        if ( show ) {
                el