hotykey: Esc: rm options
This commit is contained in:
parent
bd2f0d66b7
commit
2f58049f65
@ -745,6 +745,11 @@
|
||||
var thread;
|
||||
thread = nav.getThread();
|
||||
switch (keybinds.key) {
|
||||
case '<Esc>':
|
||||
if ($('#options')) {
|
||||
return options.rm();
|
||||
}
|
||||
break;
|
||||
case '0':
|
||||
return window.location = "/" + g.BOARD + "/0#0";
|
||||
case 'I':
|
||||
|
||||
@ -539,6 +539,8 @@ keybinds =
|
||||
normal: (e) ->
|
||||
thread = nav.getThread()
|
||||
switch keybinds.key
|
||||
when '<Esc>'
|
||||
options.rm() if $ '#options'
|
||||
when '0'
|
||||
window.location = "/#{g.BOARD}/0#0"
|
||||
when 'I'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user