diff options
author | marzavec <admin@marzavec.com> | 2019-08-14 15:16:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-14 15:16:04 +0200 |
commit | f12dc52c7930d00f9e740242bc30ba104de0824c (patch) | |
tree | c165d7107aa2e1add6832aa911fdaa9ea755a743 | |
parent | Merge pull request #76 from OpSimple/patch-1 (diff) | |
parent | Update client.js (diff) | |
download | hackchat-f12dc52c7930d00f9e740242bc30ba104de0824c.tar.gz hackchat-f12dc52c7930d00f9e740242bc30ba104de0824c.zip |
Merge pull request #77 from MinusGix/patch-7
Fix spacing issues from messages that refer to user
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 == '!') { |