Merge branch 'master' of github.com:openvk/openvk

This commit is contained in:
veselcraft 2022-01-17 19:01:52 +03:00
commit 62b0e59904
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E
2 changed files with 2 additions and 1 deletions

View file

@ -563,6 +563,7 @@ input[type="text"], input[type="password"], input[type~="text"], input[type~="pa
font-size: 11px;
font-family: tahoma, verdana, arial, sans-serif;
width: 100%;
box-sizing: border-box;
}
h4 {

View file

@ -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");
});