Skip to content
Permalink
Browse files

Effects: Fixing call to outerHeight/Width in drop effect for compat w…

…ith 1.8 core
  • Loading branch information
gnarf committed Jul 20, 2012
1 parent f8bdd6e commit 4e3d31e1eeabaf311552b8496936122dae88b69f
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.effect-drop.js
@@ -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

0 comments on commit 4e3d31e

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