Fix #525
This commit is contained in:
parent
5c1776e5bb
commit
9d1be8b843
@ -1093,13 +1093,13 @@
|
|||||||
if (target.nodeName !== 'TEXTAREA') {
|
if (target.nodeName !== 'TEXTAREA') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Keybinds.tags('spoiler', ta);
|
Keybinds.tags('spoiler', target);
|
||||||
break;
|
break;
|
||||||
case Conf.code:
|
case Conf.code:
|
||||||
if (target.nodeName !== 'TEXTAREA') {
|
if (target.nodeName !== 'TEXTAREA') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Keybinds.tags('code', ta);
|
Keybinds.tags('code', target);
|
||||||
break;
|
break;
|
||||||
case Conf.watch:
|
case Conf.watch:
|
||||||
Watcher.toggle(thread);
|
Watcher.toggle(thread);
|
||||||
|
|||||||
@ -816,10 +816,10 @@ Keybinds =
|
|||||||
QR.submit() if QR.el and !QR.status()
|
QR.submit() if QR.el and !QR.status()
|
||||||
when Conf.spoiler
|
when Conf.spoiler
|
||||||
return if target.nodeName isnt 'TEXTAREA'
|
return if target.nodeName isnt 'TEXTAREA'
|
||||||
Keybinds.tags 'spoiler', ta
|
Keybinds.tags 'spoiler', target
|
||||||
when Conf.code
|
when Conf.code
|
||||||
return if target.nodeName isnt 'TEXTAREA'
|
return if target.nodeName isnt 'TEXTAREA'
|
||||||
Keybinds.tags 'code', ta
|
Keybinds.tags 'code', target
|
||||||
# Thread related
|
# Thread related
|
||||||
when Conf.watch
|
when Conf.watch
|
||||||
Watcher.toggle thread
|
Watcher.toggle thread
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user