Should fix some keybinds
This commit is contained in:
parent
d4fbe602d9
commit
049f75b789
@ -890,8 +890,8 @@
|
|||||||
case conf.close:
|
case conf.close:
|
||||||
if (o = $('#overlay')) {
|
if (o = $('#overlay')) {
|
||||||
$.rm(o);
|
$.rm(o);
|
||||||
} else if (qr.el) {
|
} else if (QR.qr) {
|
||||||
qr.close();
|
QR.close();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case conf.spoiler:
|
case conf.spoiler:
|
||||||
@ -965,8 +965,8 @@
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case conf.submit:
|
case conf.submit:
|
||||||
if (qr.el) {
|
if (QR.qr) {
|
||||||
qr.submit.call($('form', qr.el));
|
QR.submit.call($('form', QR.qr));
|
||||||
} else {
|
} else {
|
||||||
$('.postarea form').submit();
|
$('.postarea form').submit();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -625,8 +625,8 @@ keybinds =
|
|||||||
when conf.close
|
when conf.close
|
||||||
if o = $ '#overlay'
|
if o = $ '#overlay'
|
||||||
$.rm o
|
$.rm o
|
||||||
else if qr.el
|
else if QR.qr
|
||||||
qr.close()
|
QR.close()
|
||||||
when conf.spoiler
|
when conf.spoiler
|
||||||
ta = e.target
|
ta = e.target
|
||||||
return unless ta.nodeName is 'TEXTAREA'
|
return unless ta.nodeName is 'TEXTAREA'
|
||||||
@ -677,8 +677,8 @@ keybinds =
|
|||||||
when conf.previousPage
|
when conf.previousPage
|
||||||
$('input[value=Previous]')?.click()
|
$('input[value=Previous]')?.click()
|
||||||
when conf.submit
|
when conf.submit
|
||||||
if qr.el
|
if QR.qr
|
||||||
qr.submit.call $ 'form', qr.el
|
QR.submit.call $ 'form', QR.qr
|
||||||
else
|
else
|
||||||
$('.postarea form').submit()
|
$('.postarea form').submit()
|
||||||
when conf.unreadCountTo0
|
when conf.unreadCountTo0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user