From 990bc968bbd62816f555e97158f070c3ceb279d6 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 22 Jul 2019 16:56:12 -0700 Subject: [PATCH] Simplify and remove hardcoded selector. --- src/Miscellaneous/Keybinds.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index ee1643ba1..277fe2c04 100644 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -23,8 +23,7 @@ Keybinds = return unless /(Esc|Alt|Ctrl|Meta|Shift\+\w{2,})/.test(key) and not /^Alt\+(\d|Up|Down|Left|Right)$/.test(key) if g.VIEW in ['index', 'thread'] threadRoot = Nav.getThread() - if op = $ '.op', threadRoot - thread = Get.postFromNode(op).thread + thread = Get.threadFromRoot threadRoot switch key # QR & Options when Conf['Toggle board list']