aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.effect-slide.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-08-11 19:45:43 +0200
committerFelix Nagel <info@felixnagel.com>2012-08-11 19:45:43 +0200
commitdd272e75689a7e105f7d852f0fc903e4f4bda245 (patch)
tree5c097bc4ce4ab3ead310c63ac228bb1f0d3683b6 /ui/jquery.ui.effect-slide.js
parent549b97ed6cc718087ce8b9bff3c8556ab4ca7848 (diff)
parent30b579f598a3abdc9b0b7ad18bc76c8b5438d5ca (diff)
downloadjquery-ui-dd272e75689a7e105f7d852f0fc903e4f4bda245.tar.gz
jquery-ui-dd272e75689a7e105f7d852f0fc903e4f4bda245.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.effect-slide.js')
-rw-r--r--ui/jquery.ui.effect-slide.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/jquery.ui.effect-slide.js b/ui/jquery.ui.effect-slide.js
index d61047b8b..5f0aa1e45 100644
--- a/ui/jquery.ui.effect-slide.js
+++ b/ui/jquery.ui.effect-slide.js
@@ -3,7 +3,7 @@
* http://jqueryui.com
*
* Copyright 2012 jQuery Foundation and other contributors
- * Dual licensed under the MIT or GPL Version 2 licenses.
+ * Released under the MIT license.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Effects/Slide
@@ -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"