From 6852b7a2a80c8c5ae7ce59f210fcbd1e01f98e88 Mon Sep 17 00:00:00 2001 From: kaldari Date: Tue, 11 Jun 2013 11:57:59 -0700 Subject: [PATCH] Setting tooltip gravity to 's' so that the tooltip shows above Right now the tooltip gravity is defaulting to north which causes the tooltip to be partially overlapped by the cursor. Setting it to south makes it easier to read since it appears above the icon and isn't obscured by the cursor. Change-Id: I9aa43c9ff93fbded1b51bf34c084ec0f8cad28b7 --- resources/mediawiki/mediawiki.htmlform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/mediawiki/mediawiki.htmlform.js b/resources/mediawiki/mediawiki.htmlform.js index ac6f2a156b..f93cac1a8f 100644 --- a/resources/mediawiki/mediawiki.htmlform.js +++ b/resources/mediawiki/mediawiki.htmlform.js @@ -129,7 +129,7 @@ var $matrixTooltips = $( '.mw-htmlform-matrix .mw-htmlform-tooltip' ); if ( $matrixTooltips.length ) { mw.loader.using( 'jquery.tipsy', function () { - $matrixTooltips.tipsy(); + $matrixTooltips.tipsy( { gravity: 's' } ); } ); } } ); -- 2.20.1