diff --git a/.vscode/settings.json b/.vscode/settings.json index 8a66df4..3472512 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -81,6 +81,7 @@ "netease", "nextval", "nian", + "nofollow", "noto", "oppo", "opposans", diff --git a/src/asserts/scripts/yufan.me.js b/src/asserts/scripts/yufan.me.js index 1bb5519..d4164d2 100644 --- a/src/asserts/scripts/yufan.me.js +++ b/src/asserts/scripts/yufan.me.js @@ -153,6 +153,7 @@ if (typeof comments !== 'undefined' && comments !== null) { // Reply a comment. if (event.target.matches('.comment-reply-link')) { + cancelReply(); cancel.hidden = false; replyForm.querySelector('input[name="rid"]').value = event.target.dataset.rid;