diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /resources/jquery.tipsy | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'resources/jquery.tipsy')
-rw-r--r-- | resources/jquery.tipsy/jquery.tipsy.css | 1 | ||||
-rw-r--r-- | resources/jquery.tipsy/jquery.tipsy.js | 18 |
2 files changed, 10 insertions, 9 deletions
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; + } } } |