aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-03-25 15:28:34 -0400
committerjzaefferer <joern.zaefferer@gmail.com>2010-03-25 15:28:34 -0400
commita3286b12beb939d1b8f69cb20f2dd90341293e4f (patch)
tree6ffb9abfa03c7209554fbf0d1565fc7c9bb111bd /ui
parent3bd4de2a87f86e39b649cc33bf28969fc9998fef (diff)
downloadjquery-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.js1
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);
});