aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.tooltip.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index af5bcd07b..ea3cde339 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -117,8 +117,9 @@ $.widget("ui.tooltip", {
if (!this.current)
return;
- var current = this.current.attr("title", this.currentTitle);
+ var current = this.current;
this.current = null;
+ current.attr("title", this.currentTitle);
if (this.options.disabled)
return;