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:
50ada93
)
test for typeof to avoid IE warnings
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 16 Jun 2004 10:51:39 +0000
(10:51 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 16 Jun 2004 10:51:39 +0000
(10:51 +0000)
stylesheets/wikibits.js
patch
|
blob
|
history
diff --git
a/stylesheets/wikibits.js
b/stylesheets/wikibits.js
index
d3ed147
..
d297157
100644
(file)
--- a/
stylesheets/wikibits.js
+++ b/
stylesheets/wikibits.js
@@
-360,7
+360,7
@@
function insertTags(tagOpen, tagClose, sampleText) {
}
function akeytt() {
- if(!ta) return;
+ if(
typeof ta == "undefined" ||
!ta) return;
pref = 'alt-';
if(is_safari || navigator.userAgent.toLowerCase().indexOf( 'mac' ) + 1 ) pref = 'control-';
if(is_opera) pref = 'shift-esc-';