diff options
author | Felix Nagel <info@felixnagel.com> | 2012-08-11 19:45:43 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-08-11 19:45:43 +0200 |
commit | dd272e75689a7e105f7d852f0fc903e4f4bda245 (patch) | |
tree | 5c097bc4ce4ab3ead310c63ac228bb1f0d3683b6 /ui/jquery.ui.effect-drop.js | |
parent | 549b97ed6cc718087ce8b9bff3c8556ab4ca7848 (diff) | |
parent | 30b579f598a3abdc9b0b7ad18bc76c8b5438d5ca (diff) | |
download | jquery-ui-dd272e75689a7e105f7d852f0fc903e4f4bda245.tar.gz jquery-ui-dd272e75689a7e105f7d852f0fc903e4f4bda245.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.effect-drop.js')
-rw-r--r-- | ui/jquery.ui.effect-drop.js | 4 |
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 |