makes the keyboard shortcut documentations appear on '?' on US keyboards, see https://quitter.no/notice/526853

This commit is contained in:
Hannes Mannerheim 2015-07-06 19:20:56 +02:00
parent 2143afd35f
commit 393cef75b6

View File

@ -2533,7 +2533,7 @@ $('body').keyup(function (e) {
&& window.loggedIn !== false) {
// shortcuts documentation on '?'
if(e.shiftKey && e.which == 171) {
if(e.shiftKey && (e.which == 171 || e.which == 191)) {
$('#shortcuts-link').click();
}