From: Marcel Werk Date: Thu, 3 Nov 2011 21:53:02 +0000 (+0100) Subject: Fixed a balloon tooltip issue X-Git-Tag: 2.0.0_Beta_1~1624 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93430cba6ffc490a9498220d3eac30acf04b80b5;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 da85bfea86..d42a4962d2 100644 --- 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'));