control on the mac
authorGabriel Wicke <gwicke@users.mediawiki.org>
Wed, 9 Jun 2004 19:09:24 +0000 (19:09 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Wed, 9 Jun 2004 19:09:24 +0000 (19:09 +0000)
stylesheets/wikibits.js

index 3020603..298c2a9 100644 (file)
@@ -362,7 +362,7 @@ function insertTags(tagOpen, tagClose, sampleText) {
 function akeytt() {
     if(!ta) return;
     pref = 'alt-';
-    if(is_safari || navigator.userAgent.toLowerCase().indexOf( 'mac' ) + 1 ) pref = 'cmd-';
+    if(is_safari || navigator.userAgent.toLowerCase().indexOf( 'mac' ) + 1 ) pref = 'control-';
     if(is_opera) pref = 'shift-esc-';
     for(id in ta) {
         n = document.getElementById(id);