diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-25 15:28:34 -0400 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-25 15:28:34 -0400 |
commit | a3286b12beb939d1b8f69cb20f2dd90341293e4f (patch) | |
tree | 6ffb9abfa03c7209554fbf0d1565fc7c9bb111bd /ui | |
parent | 3bd4de2a87f86e39b649cc33bf28969fc9998fef (diff) | |
download | jquery-ui-a3286b12beb939d1b8f69cb20f2dd90341293e4f.tar.gz jquery-ui-a3286b12beb939d1b8f69cb20f2dd90341293e4f.zip |
Tooltip: Added comment about asny response handling
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index f19e75360..1fe452450 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -81,6 +81,7 @@ $.widget("ui.tooltip", { this.current = target; this.currentTitle = target.attr("title"); var content = this.options.content.call(target[0], function(response) { + // ignore async responses that come in after the tooltip is already hidden if (self.current == target) self.open(target, response); }); |