From e81ca6a13328bf44f940b6905f8a1488d0bb94bf Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 25 Jan 2012 21:59:42 +0100 Subject: [PATCH] Fixed a balloon tooltip issue --- wcfsetup/install/files/js/WCF.js | 6 ++++++ 1 file changed, 6 insertions(+) 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')); -- 2.20.1