mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Merge branch 'master' of github.com:openvk/openvk
This commit is contained in:
commit
62b0e59904
2 changed files with 2 additions and 1 deletions
|
@ -563,6 +563,7 @@ input[type="text"], input[type="password"], input[type~="text"], input[type~="pa
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-family: tahoma, verdana, arial, sans-serif;
|
font-family: tahoma, verdana, arial, sans-serif;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
|
|
|
@ -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