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 slide effect for compat with 1.8 core
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user