mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core
This commit is contained in:
2
ui/jquery.ui.effect-drop.js
vendored
2
ui/jquery.ui.effect-drop.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user