This commit is contained in:
Nicolas Stepien 2012-06-04 18:11:52 +02:00
parent 5c1776e5bb
commit 9d1be8b843
2 changed files with 4 additions and 4 deletions

View File

@ -1093,13 +1093,13 @@
if (target.nodeName !== 'TEXTAREA') {
return;
}
Keybinds.tags('spoiler', ta);
Keybinds.tags('spoiler', target);
break;
case Conf.code:
if (target.nodeName !== 'TEXTAREA') {
return;
}
Keybinds.tags('code', ta);
Keybinds.tags('code', target);
break;
case Conf.watch:
Watcher.toggle(thread);

View File

@ -816,10 +816,10 @@ Keybinds =
QR.submit() if QR.el and !QR.status()
when Conf.spoiler
return if target.nodeName isnt 'TEXTAREA'
Keybinds.tags 'spoiler', ta
Keybinds.tags 'spoiler', target
when Conf.code
return if target.nodeName isnt 'TEXTAREA'
Keybinds.tags 'code', ta
Keybinds.tags 'code', target
# Thread related
when Conf.watch
Watcher.toggle thread