aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinusGix <MinusGix@gmail.com>2019-08-14 01:25:32 +0200
committerGitHub <noreply@github.com>2019-08-14 01:25:32 +0200
commit8b50c0e90d4a045f3ef98d60e8e8801b9d776625 (patch)
treec165d7107aa2e1add6832aa911fdaa9ea755a743
parentMerge pull request #76 from OpSimple/patch-1 (diff)
downloadhackchat-8b50c0e90d4a045f3ef98d60e8e8801b9d776625.tar.gz
hackchat-8b50c0e90d4a045f3ef98d60e8e8801b9d776625.zip
Update client.js
-rw-r--r--client/client.js4
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 == '!') {