From: Marcel Werk Date: Wed, 25 Jan 2012 20:59:42 +0000 (+0100) Subject: Fixed a balloon tooltip issue X-Git-Tag: 2.0.0_Beta_1~1390 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e81ca6a13328bf44f940b6905f8a1488d0bb94bf;p=GitHub%2FWoltLab%2FWCF.git Fixed a balloon tooltip issue --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 17bc50b4bd..bd558cafcc 100644 --- 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'));