dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def78d1
)
Partially rv r19101+r19102, fix noise in error console by explicitly
author
Ilmari Karonen
<vyznev@users.mediawiki.org>
Thu, 11 Jan 2007 02:20:19 +0000
(
02:20
+0000)
committer
Ilmari Karonen
<vyznev@users.mediawiki.org>
Thu, 11 Jan 2007 02:20:19 +0000
(
02:20
+0000)
referring to window.ta. Also make a local copy to avoid it getting
clobbered below if doId is given; this seems reasonable, hopefully it
won't break any hidden assumptions anywhere.
skins/common/wikibits.js
patch
|
blob
|
history
diff --git
a/skins/common/wikibits.js
b/skins/common/wikibits.js
index
988e5f0
..
9722278
100644
(file)
--- a/
skins/common/wikibits.js
+++ b/
skins/common/wikibits.js
@@
-482,7
+482,8
@@
function insertTags(tagOpen, tagClose, sampleText) {
*/
function akeytt( doId ) {
var pref;
- if (undefined == typeof ta) ta = new Object;
+ var ta = window.ta; // make local copy
+ if (!ta) ta = new Array;
if (is_safari || navigator.userAgent.toLowerCase().indexOf('mac') + 1
|| navigator.userAgent.toLowerCase().indexOf('konqueror') + 1 ) {
pref = 'control-';