From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- resources/jquery.tipsy/jquery.tipsy.css | 1 + resources/jquery.tipsy/jquery.tipsy.js | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'resources/jquery.tipsy') diff --git a/resources/jquery.tipsy/jquery.tipsy.css b/resources/jquery.tipsy/jquery.tipsy.css index d79554d2..2e504c32 100644 --- a/resources/jquery.tipsy/jquery.tipsy.css +++ b/resources/jquery.tipsy/jquery.tipsy.css @@ -2,6 +2,7 @@ padding: 5px; position: absolute; z-index: 100000; + cursor: default; } .tipsy-inner { padding: 5px 8px 4px 8px; diff --git a/resources/jquery.tipsy/jquery.tipsy.js b/resources/jquery.tipsy/jquery.tipsy.js index 847a527b..7c808734 100644 --- a/resources/jquery.tipsy/jquery.tipsy.js +++ b/resources/jquery.tipsy/jquery.tipsy.js @@ -56,17 +56,17 @@ if (gravity.length == 2) { if (gravity.charAt(1) == 'w') { - if ( this.options.center ) { - tp.left = pos.left + pos.width / 2 - 15; - } else { + if (this.options.center) { + tp.left = pos.left + pos.width / 2 - 15; + } else { tp.left = pos.left; - } + } } else { - if ( this.options.center ) { - tp.left = pos.left + pos.width / 2 - actualWidth + 15; - } else { - tp.left = pos.left + pos.width; - } + if (this.options.center) { + tp.left = pos.left + pos.width / 2 - actualWidth + 15; + } else { + tp.left = pos.left + pos.width; + } } } -- cgit v1.2.2