From b560af11be809932cc9b96ed569f5ca6f3526bf2 Mon Sep 17 00:00:00 2001 From: Dean Serenevy Date: Sat, 6 Sep 2014 12:24:06 -0400 Subject: Configuration to disable Alt-r hotkey (conflicts with reload when ui.key.accelKey = 18) --- chrome/js/browserOverlay.js | 2 +- chrome/redirector.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome') diff --git a/chrome/js/browserOverlay.js b/chrome/js/browserOverlay.js index ed1ab73..019505f 100644 --- a/chrome/js/browserOverlay.js +++ b/chrome/js/browserOverlay.js @@ -18,7 +18,7 @@ var RedirectorOverlay = { this.changedPrefs(this.prefs); this.prefs.addListener(this); document.addEventListener('keypress', function(event) { - if ((event.charCode == 114) && event.altKey) { //alt+r + if ((RedirectorOverlay.prefs.enableShortcutKey) && (event.charCode == 114) && event.altKey) { //alt+r RedirectorOverlay.toggleEnabled(); } }, true); diff --git a/chrome/redirector.html b/chrome/redirector.html index 68300c1..eb0baa7 100644 --- a/chrome/redirector.html +++ b/chrome/redirector.html @@ -31,6 +31,7 @@


+

-- cgit v1.2.3