From c62a7a37524179381bcdca556c1113d693e7a30d Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Mon, 19 Mar 2018 19:21:48 +0000 Subject: [PATCH] Nickname, not nick --- webapp/titanembeds/static/js/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index ab80af2..dce10a6 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -1477,7 +1477,7 @@ var usr = all_users[i]; if (usr.username.toLowerCase().indexOf(lastWord.toLowerCase()) > -1 || (usr.nickname && usr.nickname.toLowerCase().indexOf(lastWord.toLowerCase()) > -1)) { var displayname = usr.username; - if (usr.nick) { + if (usr.nickname) { displayname = usr.nickname; } users.push({