projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea1643
)
Fixed the balloon tooltips
author
Marcel Werk
<burntime@woltlab.com>
Thu, 3 Nov 2011 17:53:30 +0000
(18:53 +0100)
committer
Marcel Werk
<burntime@woltlab.com>
Thu, 3 Nov 2011 17:53:30 +0000
(18:53 +0100)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index a8daf75e5836c87d6c8e95703e9e820561b50c3f..725003d6845595e365fb8b1a6235ed6239f78079 100644
(file)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-2714,6
+2714,16
@@
WCF.Effect.BalloonTooltip.prototype = {
// show tooltip
this.tooltip.fadeIn('fast');
}
+ },
+
+ _mouseLeaveHandler: function(event) {
+ var $element = $(event.currentTarget);
+ if ($element.data('tooltip')) {
+ $element.attr('title', $element.data('tooltip'));
+ $element.data('tooltip', '');
+
+ this.tooltip.hide();
+ }
}
};