aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2019-08-14 15:16:04 +0200
committerGitHub <noreply@github.com>2019-08-14 15:16:04 +0200
commitf12dc52c7930d00f9e740242bc30ba104de0824c (patch)
treec165d7107aa2e1add6832aa911fdaa9ea755a743 /client
parentMerge pull request #76 from OpSimple/patch-1 (diff)
parentUpdate client.js (diff)
downloadhackchat-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 'client')
-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 == '!') {