From 9bb13f2c4ec0e193b4809e80687f0996fa6fce7d Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Mon, 31 Dec 2012 20:14:07 +0200 Subject: [PATCH] (bug 42384) Don't show the tooltip if the ULS panel is on Change-Id: I199d2b0c84f2b682d7b698faff443504207ac466 --- resources/js/ext.uls.init.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/js/ext.uls.init.js b/resources/js/ext.uls.init.js index 99248386..3c620371 100644 --- a/resources/js/ext.uls.init.js +++ b/resources/js/ext.uls.init.js @@ -297,8 +297,12 @@ // manually show the tooltip $ulsTrigger.on( 'mouseover', function () { - showTipsy( 3000 ); + // show only if the ULS panel is not shown + if ( !$ulsTrigger.data( 'uls' ).shown ) { + showTipsy( 3000 ); + } } ); + // hide the tooltip when clicked on uls trigger $ulsTrigger.on( 'click', function () { hideTipsy();