Skip to content

Commit 4e3d31e

Browse files
committed
Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core
1 parent f8bdd6e commit 4e3d31e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.effect-drop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $.effects.effect.drop = function( o, done ) {
3232
el.show();
3333
$.effects.createWrapper( el );
3434

35-
distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]({ margin: true }) / 2;
35+
distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]( true ) / 2;
3636

3737
if ( show ) {
3838
el

0 commit comments

Comments
 (0)