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 slide effect for compat with 1.8 core
This commit is contained in:
parent
85d259483e
commit
ed64ccfef4
4
ui/jquery.ui.effect-slide.js
vendored
4
ui/jquery.ui.effect-slide.js
vendored
@ -29,9 +29,7 @@ $.effects.effect.slide = function( o, done ) {
|
||||
// Adjust
|
||||
$.effects.save( el, props );
|
||||
el.show();
|
||||
distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]({
|
||||
margin: true
|
||||
});
|
||||
distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]( true );
|
||||
|
||||
$.effects.createWrapper( el ).css({
|
||||
overflow: "hidden"
|
||||
|
Loading…
Reference in New Issue
Block a user