aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--github-apple-option-p-to-preview.user.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/github-apple-option-p-to-preview.user.js b/github-apple-option-p-to-preview.user.js
index 6442a46..7c9dafb 100644
--- a/github-apple-option-p-to-preview.user.js
+++ b/github-apple-option-p-to-preview.user.js
@@ -23,7 +23,7 @@
var KEY_CODE_P = 80;
-document.body.addEventListener(
+document.documentElement.addEventListener(
'keydown',
function(e) {
var node = e.target;