fix autosize on inline reply

This commit is contained in:
Peter Bhat Harkins 2023-09-02 14:42:15 -05:00
parent 436408d563
commit fd36b9a407
1 changed files with 1 additions and 1 deletions

View File

@ -635,7 +635,7 @@ onPageLoad(() => {
div.innerHTML = text;
div.setAttribute('id', 'reply_form_' + commentId);
var ta = div.qS('textarea');
var ta = qS(div, 'textarea');
ta.textContent = sel;
// place the cursor at the end of the quoted string
ta.setSelectionRange(sel.length, sel.length);