summaryrefslogtreecommitdiff
path: root/keybind.js
diff options
context:
space:
mode:
Diffstat (limited to 'keybind.js')
-rw-r--r--keybind.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/keybind.js b/keybind.js
index c89b715..060d8f2 100644
--- a/keybind.js
+++ b/keybind.js
@@ -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();
}