aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.effect-drop.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.effect-drop.js')
-rw-r--r--ui/jquery.ui.effect-drop.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.effect-drop.js b/ui/jquery.ui.effect-drop.js
index 3246c09b0..ce02dd3fd 100644
--- a/ui/jquery.ui.effect-drop.js
+++ b/ui/jquery.ui.effect-drop.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/Drop
@@ -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