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:
70a59b4
)
Remove title of balloon-tooltip-item when it changed
author
Tim Düsterhus
<timwolla@arcor.de>
Sun, 18 Dec 2011 13:53:49 +0000
(14:53 +0100)
committer
Tim Düsterhus
<timwolla@arcor.de>
Sun, 18 Dec 2011 13:57:58 +0000
(14:57 +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 2b7ccaa1033e25de84ec004ff47895e45a8703e0..3844ef0259c3d0db014ea92c04c57ee720c57668 100644
(file)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-2789,7
+2789,10
@@
WCF.Effect.BalloonTooltip.prototype = {
var $element = $(event.currentTarget);
var $title = $element.attr('title');
- if ($title && $title !== '') $element.data('tooltip', $title);
+ if ($title && $title !== '') {
+ $element.data('tooltip', $title);
+ $element.removeAttr('title');
+ }
// update text
this._tooltip.children('span:eq(0)').text($element.data('tooltip'));