From 3a0b88cae05ab106baa3b3e8692ea6f94d2ed4ab Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Tue, 4 Jun 2013 16:31:32 +0100 Subject: [PATCH] Fix nickname in use handling in network.js --- client/assets/src/models/network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/assets/src/models/network.js b/client/assets/src/models/network.js index 88cc854..e4320f1 100644 --- a/client/assets/src/models/network.js +++ b/client/assets/src/models/network.js @@ -675,12 +675,12 @@ break; case 'nickname_in_use': this.panels.server.addMsg(' ', '== The nickname ' + event.nick + ' is already in use. Please select a new nickname', 'status'); - if (this.panels.server !== thia.panels.active) { + if (this.panels.server !== this.panels.active) { _kiwi.app.message.text('The nickname "' + event.nick + '" is already in use. Please select a new nickname'); } // Only show the nickchange component if the controlbox is open - if (that.controlbox.$el.css('display') !== 'none') { + if (_kiwi.app.controlbox.$el.css('display') !== 'none') { (new _kiwi.view.NickChangeBox()).render(); } -- 2.25.1