From: Nick Jenkins Date: Fri, 20 Oct 2006 02:16:42 +0000 (+0000) Subject: Minor tweak, stops "variable e hides argument" notification in FireBug. X-Git-Tag: 1.31.0-rc.0~55432 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=600f5bb1fb029c7b7085c1e403ac3b72b5e289f5;p=lhc%2Fweb%2Fwiklou.git Minor tweak, stops "variable e hides argument" notification in FireBug. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 97a8a2a816..da38277f3a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1030,7 +1030,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '15'; +$wgStyleVersion = '16'; # Server-side caching: diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 7846fff979..65451ab9e6 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -523,7 +523,7 @@ function addRightClickEditHandler(el) { if (prev && prev.nodeType == 1 && prev.nodeName.match(/^[Hh][1-6]$/)) { prev.oncontextmenu = function(e) { - if (!e) var e = window.event; + if (!e) e = window.event; // e is now the event in all browsers if (e.target) var targ = e.target; else if (e.srcElement) var targ = e.srcElement;