Index: trunk/extensions/Narayam/resources/ext.narayam.core.js |
— | — | @@ -116,7 +116,7 @@ |
117 | 117 | return e.altKey == shortcutKey.altKey && |
118 | 118 | e.ctrlKey == shortcutKey.ctrlKey && |
119 | 119 | e.shiftKey == shortcutKey.shiftKey && |
120 | | - String.fromCharCode( e.which ).toLowerCase() == shortcutKey.key.toLowerCase(); |
| 120 | + String.fromCharCode( e.which ) == shortcutKey.key; |
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | ctrlKey: true, |
131 | 131 | shiftKey: false, |
132 | 132 | cmdKey: false, |
133 | | - key: 'm' |
| 133 | + key: 'M' |
134 | 134 | }; |
135 | 135 | // Browser sniffing to determine the available shortcutKey |
136 | 136 | // Refer: mediawiki.util.js and en.wikipedia.org/wiki/Access_key |
— | — | @@ -139,7 +139,7 @@ |
140 | 140 | if ( !( profile.platform == 'win' && profile.name == 'safari' ) && |
141 | 141 | ( profile.name == 'safari'|| profile.platform == 'mac' || profile.name == 'konqueror' ) |
142 | 142 | && !( profile.name == 'opera' || profile.name == 'chrome' ) ) { |
143 | | - defaultShortcut.key = 'g'; |
| 143 | + defaultShortcut.key = 'G'; |
144 | 144 | } |
145 | 145 | // For Opera in OSX, shortcut is control+command+m. |
146 | 146 | if ( profile.name == 'opera' && profile.platform == 'mac' ) { |