From: Brion Vibber Date: Mon, 12 Dec 2005 00:14:02 +0000 (+0000) Subject: another touch of whitespace X-Git-Tag: 1.6.0~957 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=e82db5d5defaf58dc587bf5c591ca7a53be8eb63;p=lhc%2Fweb%2Fwiklou.git another touch of whitespace --- diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 38c35091c4..bdbea3848d 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -414,15 +414,15 @@ function akeytt() { if (typeof ta == "undefined" || !ta) return; pref = 'alt-'; - if(is_safari || navigator.userAgent.toLowerCase().indexOf( 'mac' ) + 1 - || navigator.userAgent.toLowerCase().indexOf( 'konqueror' ) + 1 ) + if (is_safari || navigator.userAgent.toLowerCase().indexOf('mac') + 1 + || navigator.userAgent.toLowerCase().indexOf('konqueror') + 1 ) pref = 'control-'; - if(is_opera) + if (is_opera) pref = 'shift-esc-'; for (id in ta) { n = document.getElementById(id); - if (n){ + if (n) { // Are we putting accesskey in it if (ta[id][0].length > 0) { // Is this object a object? If not assume it's the next child.