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:
e68f4d0
)
Fixed a balloon tooltip issue
author
Marcel Werk
<burntime@woltlab.com>
Thu, 3 Nov 2011 21:53:02 +0000
(22:53 +0100)
committer
Marcel Werk
<burntime@woltlab.com>
Thu, 3 Nov 2011 21:53:02 +0000
(22: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 da85bfea86914d356f9441254d4c306d58271354..d42a4962d294be3e65b2cb6a53ac666493bd4106 100644
(file)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-2747,6
+2747,9
@@
WCF.Effect.BalloonTooltip.prototype = {
_mouseEnterHandler: function(event) {
var $element = $(event.currentTarget);
+ var $title = $element.attr('title');
+ if ($title && $title !== '') $element.data('tooltip', $title);
+
// update text
this._tooltip.children('span:eq(0)').text($element.data('tooltip'));