fix: invalid html for comment reply.
This commit is contained in:
parent
8d1f4c7848
commit
c7253c68e4
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@ -81,6 +81,7 @@
|
|||||||
"netease",
|
"netease",
|
||||||
"nextval",
|
"nextval",
|
||||||
"nian",
|
"nian",
|
||||||
|
"nofollow",
|
||||||
"noto",
|
"noto",
|
||||||
"oppo",
|
"oppo",
|
||||||
"opposans",
|
"opposans",
|
||||||
|
@ -153,6 +153,7 @@ if (typeof comments !== 'undefined' && comments !== null) {
|
|||||||
|
|
||||||
// Reply a comment.
|
// Reply a comment.
|
||||||
if (event.target.matches('.comment-reply-link')) {
|
if (event.target.matches('.comment-reply-link')) {
|
||||||
|
cancelReply();
|
||||||
cancel.hidden = false;
|
cancel.hidden = false;
|
||||||
replyForm.querySelector('input[name="rid"]').value = event.target.dataset.rid;
|
replyForm.querySelector('input[name="rid"]').value = event.target.dataset.rid;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user