From 6f30c811e7c6d6c046a01f1fd5be31a0523e0160 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Thu, 11 Jan 2007 01:00:34 +0000 Subject: [PATCH] Fix to keep JS error consoles happy --- skins/common/wikibits.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 6ca54859e4..51d13ef3ec 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -482,7 +482,7 @@ function insertTags(tagOpen, tagClose, sampleText) { */ function akeytt( doId ) { var pref; - if (!ta) ta = new Object; + if (undefined == ta) ta = new Object; if (is_safari || navigator.userAgent.toLowerCase().indexOf('mac') + 1 || navigator.userAgent.toLowerCase().indexOf('konqueror') + 1 ) { pref = 'control-'; -- 2.20.1