mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Fix typo in al_comments
This commit is contained in:
parent
8e07a59172
commit
b490208290
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,6 @@ u(".comment-reply").on("click", function(e) {
|
||||||
let mention = ("[" + (fromGroup ? "club" : "id") + authorId + "|" + authorNm + "], ");
|
let mention = ("[" + (fromGroup ? "club" : "id") + authorId + "|" + authorNm + "], ");
|
||||||
|
|
||||||
// Substitute pervious mention if present, prepend otherwise
|
// 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");
|
inputbox.trigger("focusin");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue