From d6cb44af7b17ab5536f85603abd95b74d3e44621 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 26 Jan 2015 03:09:34 -0800 Subject: [PATCH] Don't intercept QR keybinds when QR or posting is disabled. --- src/Miscellaneous/Keybinds.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index a17ef1180..1dee06895 100755 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -33,9 +33,10 @@ Keybinds = when Conf['Toggle header'] Header.toggleBarVisibility() when Conf['Open empty QR'] + return unless QR.postingIsEnabled Keybinds.qr() when Conf['Open QR'] - return unless threadRoot + return unless QR.postingIsEnabled and threadRoot Keybinds.qr threadRoot when Conf['Open settings'] Settings.open() @@ -211,7 +212,6 @@ Keybinds = key qr: (thread) -> - return unless Conf['Quick Reply'] and QR.postingIsEnabled QR.open() if thread? QR.quote.call $ 'input', $('.post.highlight', thread) or thread