Simplify and remove hardcoded selector.
This commit is contained in:
parent
35e7500afe
commit
990bc968bb
@ -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)
|
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']
|
if g.VIEW in ['index', 'thread']
|
||||||
threadRoot = Nav.getThread()
|
threadRoot = Nav.getThread()
|
||||||
if op = $ '.op', threadRoot
|
thread = Get.threadFromRoot threadRoot
|
||||||
thread = Get.postFromNode(op).thread
|
|
||||||
switch key
|
switch key
|
||||||
# QR & Options
|
# QR & Options
|
||||||
when Conf['Toggle board list']
|
when Conf['Toggle board list']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user