diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-05-28 10:18:39 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-05-28 10:18:39 -0400 |
commit | d4f6f17c8de859bcc4b76e15e523fb8b74703afe (patch) | |
tree | 40d0da76e622bb887740945f269d94e3f814bb2b /ui/jquery.ui.widget.js | |
parent | c34a814a4b140a0b6a7610874d7918eb3a1e01a3 (diff) | |
download | jquery-ui-d4f6f17c8de859bcc4b76e15e523fb8b74703afe.tar.gz jquery-ui-d4f6f17c8de859bcc4b76e15e523fb8b74703afe.zip |
Tooltip: Changed custom animation demo and changed the logic for showing tooltips so custom position options can perform animations.
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r-- | ui/jquery.ui.widget.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index 4167fd4e5..3bf735cd3 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -379,7 +379,7 @@ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) { var hasOptions = !$.isEmptyObject( options ), effectName = options.effect || defaultEffect; options.complete = callback; - if (options.delay) { + if ( options.delay ) { element.delay( options.delay ); } if ( hasOptions && $.effects && ( $.effects.effect[ effectName ] || $.uiBackCompat !== false && $.effects[ effectName ] ) ) { |