mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core
This commit is contained in:
parent
f8bdd6e192
commit
4e3d31e1ee
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();
|
el.show();
|
||||||
$.effects.createWrapper( el );
|
$.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 ) {
|
if ( show ) {
|
||||||
el
|
el
|
||||||
|
Loading…
Reference in New Issue
Block a user