From bcb8af7d62c26d7ab1e288dd11ac03fc990bc4be Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Thu, 11 Jan 2007 01:01:40 +0000 Subject: [PATCH] Fix to keep even more 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 51d13ef3ec..988e5f009d 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 (undefined == ta) ta = new Object; + if (undefined == typeof ta) ta = new Object; if (is_safari || navigator.userAgent.toLowerCase().indexOf('mac') + 1 || navigator.userAgent.toLowerCase().indexOf('konqueror') + 1 ) { pref = 'control-'; -- 2.20.1