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) {
|
if (quote) {
|
||||||
return qr.quote.call($('.quotejs + a', $('.replyhl', thread) || thread));
|
return qr.quote.call($('.quotejs + a', $('.replyhl', thread) || thread));
|
||||||
} else {
|
} else {
|
||||||
if (qr.el) {
|
if (!qr.el) qr.dialog('', thread != null ? thread.firstChild.id : void 0);
|
||||||
return $('textarea', qr.el).focus();
|
return $('textarea', qr.el).focus();
|
||||||
} else {
|
|
||||||
return qr.dialog('', thread != null ? thread.firstChild.id : void 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
open: function(thread, tab) {
|
open: function(thread, tab) {
|
||||||
|
|||||||
@ -2,6 +2,7 @@ master
|
|||||||
- mayhem
|
- mayhem
|
||||||
quotes are now inserted at the caret position in the QR
|
quotes are now inserted at the caret position in the QR
|
||||||
quotes also replace the text selection 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
|
- aeosynth
|
||||||
update the captcha caching expiration date to 30mins
|
update the captcha caching expiration date to 30mins
|
||||||
|
|
||||||
|
|||||||
@ -750,10 +750,9 @@ keybinds =
|
|||||||
if quote
|
if quote
|
||||||
qr.quote.call $ '.quotejs + a', $('.replyhl', thread) or thread
|
qr.quote.call $ '.quotejs + a', $('.replyhl', thread) or thread
|
||||||
else
|
else
|
||||||
if qr.el
|
unless qr.el
|
||||||
$('textarea', qr.el).focus()
|
|
||||||
else
|
|
||||||
qr.dialog '', thread?.firstChild.id
|
qr.dialog '', thread?.firstChild.id
|
||||||
|
$('textarea', qr.el).focus()
|
||||||
|
|
||||||
open: (thread, tab) ->
|
open: (thread, tab) ->
|
||||||
id = thread.firstChild.id
|
id = thread.firstChild.id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user