11 lines
199 B
JavaScript
11 lines
199 B
JavaScript
|
document.title = "Keyboard Shortcuts";
|
||
|
|
||
|
document.onkeypress = function(e) {
|
||
|
switch (e.keyCode || e.which) {
|
||
|
case 81: // Q
|
||
|
case 113: // q
|
||
|
window.close();
|
||
|
break;
|
||
|
}
|
||
|
};
|