diff options
author | MinusGix <MinusGix@gmail.com> | 2019-08-14 01:25:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-14 01:25:32 +0200 |
commit | 8b50c0e90d4a045f3ef98d60e8e8801b9d776625 (patch) | |
tree | c165d7107aa2e1add6832aa911fdaa9ea755a743 | |
parent | Merge pull request #76 from OpSimple/patch-1 (diff) | |
download | hackchat-8b50c0e90d4a045f3ef98d60e8e8801b9d776625.tar.gz hackchat-8b50c0e90d4a045f3ef98d60e8e8801b9d776625.zip |
Update client.js
Diffstat (limited to '')
-rw-r--r-- | client/client.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/client.js b/client/client.js index f55c388..06bfc1b 100644 --- a/client/client.js +++ b/client/client.js @@ -322,10 +322,10 @@ function pushMessage(args) { ) { messageEl.classList.add('refmessage'); notify(args); - } else { - messageEl.classList.add('message'); } + messageEl.classList.add('message'); + if (verifyNickname(myNick) && args.nick == myNick) { messageEl.classList.add('me'); } else if (args.nick == '!') { |