diff options
author | Nick White <git@njw.me.uk> | 2011-06-24 19:03:57 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-06-24 19:03:57 +0100 |
commit | 909157e8c39874f2b980d93fc343471df7d3bd43 (patch) | |
tree | 3001e5274bb38db5fe64cf37d6a45b412d1fb159 /keybind.js | |
parent | 166f2d37e968becb4deb6a6211ce63eb111685da (diff) |
Improve keybind cleanness
Diffstat (limited to 'keybind.js')
-rw-r--r-- | keybind.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,5 +5,6 @@ })(); function keybind(e) { - if(e.keyCode == 82 && e.ctrlKey && e.altKey) simplyread(); + if(e.ctrlKey && e.altKey && String.fromCharCode(e.keyCode) == "R") + simplyread(); } |