diff options
Diffstat (limited to 'keybind.js')
-rw-r--r-- | keybind.js | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,11 +1,9 @@ -/* - * See COPYING file for copyright, license and warranty details. - */ +/* See COPYING file for copyright, license and warranty details. */ + (function() { document.addEventListener('keydown', keybind, false); })(); function keybind(e) { - if (e.keyIdentifier == "U+0052" && e.ctrlKey && e.altKey) // ctrl-alt-r - simplyread(); + if(e.keyCode == 82 && e.ctrlKey && e.altKey) simplyread(); } |