ui: auto move cursor to end

This commit is contained in:
undefined committed 2021-05-05 19:08:58 +08:00
1 parent a03a77bd52
commit ecf04d3b7d
3 files changed
+5 -6

No files matched your search

@@ -118,7 +118,7 @@ async function onCommentClickReplyReply(ev) {
$evTarget
.closest('.dczcomments__item')
.find('[name="dczcomments__op-reply-comment"]').eq(0)
.trigger('click', { initialText: `@${username}: ` });
.trigger('click', { initialText: `@${username.trim()}: ` });
}
async function onCommentClickEdit(mode, ev) {