From b49020829002db7b394db535546d7b4e32be53cb Mon Sep 17 00:00:00 2001 From: celestora Date: Mon, 17 Jan 2022 12:15:44 +0200 Subject: [PATCH] Fix typo in al_comments --- Web/static/js/al_comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/static/js/al_comments.js b/Web/static/js/al_comments.js index 6f36730b..f4172428 100644 --- a/Web/static/js/al_comments.js +++ b/Web/static/js/al_comments.js @@ -8,6 +8,6 @@ u(".comment-reply").on("click", function(e) { let mention = ("[" + (fromGroup ? "club" : "id") + authorId + "|" + authorNm + "], "); // Substitute pervious mention if present, prepend otherwise - inputbox.nodes[0].value = s.nodes[0].value.replace(/(^\[([A-Za-z0-9]+)\|([\p{L} 0-9@]+)\], |^)/u, mention); + inputbox.nodes[0].value = inputbox.nodes[0].value.replace(/(^\[([A-Za-z0-9]+)\|([\p{L} 0-9@]+)\], |^)/u, mention); inputbox.trigger("focusin"); });