From 3796ef5f8069c79433607a74497135ef13089c4b Mon Sep 17 00:00:00 2001 From: Trevor Moore Date: Sat, 20 Apr 2019 14:49:38 -0700 Subject: [PATCH] Cookie Nickname bug fix --- client/Messaging.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/Messaging.js b/client/Messaging.js index b96f441..888c194 100644 --- a/client/Messaging.js +++ b/client/Messaging.js @@ -257,7 +257,10 @@ function initApp() { Utils.setCookie('nickname', name, 14); // update the app state - App.state.name = name; + App.state.name = name; + + // update the chat title + App.dom.updateName(); // destroy the editor App.dom.destoryEditor();