mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
fix my-message css for users with tripcodes
This commit is contained in:
parent
2fac02d430
commit
b54adf4610
|
@ -431,7 +431,7 @@ function pushMessage(args) {
|
||||||
|
|
||||||
messageEl.classList.add('message');
|
messageEl.classList.add('message');
|
||||||
|
|
||||||
if (verifyNickname(myNick) && args.nick == myNick) {
|
if (verifyNickname(myNick.split('#')[0]) && args.nick == myNick.split('#')[0]) {
|
||||||
messageEl.classList.add('me');
|
messageEl.classList.add('me');
|
||||||
} else if (args.nick == '!') {
|
} else if (args.nick == '!') {
|
||||||
messageEl.classList.add('warn');
|
messageEl.classList.add('warn');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user