From 2875507b97727f3f50519aca8637d45b810441c7 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 3 Nov 2011 18:53:30 +0100 Subject: [PATCH] Fixed the balloon tooltips --- wcfsetup/install/files/js/WCF.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index a8daf75e58..725003d684 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2714,6 +2714,16 @@ WCF.Effect.BalloonTooltip.prototype = { // show tooltip this.tooltip.fadeIn('fast'); } + }, + + _mouseLeaveHandler: function(event) { + var $element = $(event.currentTarget); + if ($element.data('tooltip')) { + $element.attr('title', $element.data('tooltip')); + $element.data('tooltip', ''); + + this.tooltip.hide(); + } } }; -- 2.20.1