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:
2d55e5f
)
Fixed a balloon tooltip issue
author
Marcel Werk
<burntime@woltlab.com>
Wed, 25 Jan 2012 20:59:42 +0000
(21:59 +0100)
committer
Marcel Werk
<burntime@woltlab.com>
Wed, 25 Jan 2012 20:59:42 +0000
(21:59 +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 17bc50b4bd658f019af6c9f4fd68e34e793b0738..bd558cafcc2cd2e865db66105796cdcb5555fbfb 100644
(file)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-2911,6
+2911,12
@@
WCF.Effect.BalloonTooltip.prototype = {
left: "0px"
});
+ // empty tooltip, skip
+ if (!$element.data('tooltip')) {
+ this._tooltip.hide();
+ return;
+ }
+
// update text
this._tooltip.children('span:eq(0)').text($element.data('tooltip'));