From: Darren Date: Wed, 30 Apr 2014 15:54:44 +0000 (+0100) Subject: Startup applet correctly showing the info box X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de6010d65ee3c7227f0250c759f5fd4df30e2e0b;p=KiwiIRC.git Startup applet correctly showing the info box --- diff --git a/client/src/applets/startup.js b/client/src/applets/startup.js index 54d7eef..23c9d7f 100644 --- a/client/src/applets/startup.js +++ b/client/src/applets/startup.js @@ -19,12 +19,17 @@ if ($info.html()) { connection_dialog.view.infoBoxSet($info); - connection_dialog.view.infoBoxShow(); + } else { + $info = null; } this.listenTo(connection_dialog, 'connected', this.newConnectionConnected); _.defer(function(){ + if ($info) { + connection_dialog.view.infoBoxShow(); + } + connection_dialog.view.$el.find('.nick').select(); }); },