(bug 42384) Don't show the tooltip if the ULS panel is on

Change-Id: I199d2b0c84f2b682d7b698faff443504207ac466
This commit is contained in:
Amir E. Aharoni
2012-12-31 20:14:07 +02:00
parent ab086a847a
commit 9bb13f2c4e

View File

@@ -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();