Open the QR focused when using the 'Open QR without post number inserted' keybind
This commit is contained in:
parent
0c56b42f37
commit
6341f070ba
@ -1072,11 +1072,8 @@
|
||||
if (quote) {
|
||||
return qr.quote.call($('.quotejs + a', $('.replyhl', thread) || thread));
|
||||
} else {
|
||||
if (qr.el) {
|
||||
return $('textarea', qr.el).focus();
|
||||
} else {
|
||||
return qr.dialog('', thread != null ? thread.firstChild.id : void 0);
|
||||
}
|
||||
if (!qr.el) qr.dialog('', thread != null ? thread.firstChild.id : void 0);
|
||||
return $('textarea', qr.el).focus();
|
||||
}
|
||||
},
|
||||
open: function(thread, tab) {
|
||||
|
||||
@ -2,6 +2,7 @@ master
|
||||
- mayhem
|
||||
quotes are now inserted at the caret position in the QR
|
||||
quotes also replace the text selection in the QR
|
||||
open QR focused when using the `Open QR without post number inserted` keybind
|
||||
- aeosynth
|
||||
update the captcha caching expiration date to 30mins
|
||||
|
||||
|
||||
@ -750,10 +750,9 @@ keybinds =
|
||||
if quote
|
||||
qr.quote.call $ '.quotejs + a', $('.replyhl', thread) or thread
|
||||
else
|
||||
if qr.el
|
||||
$('textarea', qr.el).focus()
|
||||
else
|
||||
unless qr.el
|
||||
qr.dialog '', thread?.firstChild.id
|
||||
$('textarea', qr.el).focus()
|
||||
|
||||
open: (thread, tab) ->
|
||||
id = thread.firstChild.id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user