From: kaldari Date: Tue, 11 Jun 2013 18:57:59 +0000 (-0700) Subject: Setting tooltip gravity to 's' so that the tooltip shows above X-Git-Tag: 1.31.0-rc.0~19443^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=6852b7a2a80c8c5ae7ce59f210fcbd1e01f98e88;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' } ); } ); } } );