From 600f5bb1fb029c7b7085c1e403ac3b72b5e289f5 Mon Sep 17 00:00:00 2001 From: Nick Jenkins Date: Fri, 20 Oct 2006 02:16:42 +0000 Subject: [PATCH] Minor tweak, stops "variable e hides argument" notification in FireBug. --- includes/DefaultSettings.php | 2 +- skins/common/wikibits.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1