From 694f801676ced7e13d2402d29de38c39d3571061 Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 15 Jun 2015 11:19:33 -0700 Subject: [PATCH] Stop hiding inbox instead of closing This behavior was intended to help keep the websocket alive, but keeping the inbox window around can cause some stale frontend state. Also we now have a keepalive alarm to check for new messages once a minute. --- js/views/window_controls_view.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/js/views/window_controls_view.js b/js/views/window_controls_view.js index 1d7de754..3ad9a818 100644 --- a/js/views/window_controls_view.js +++ b/js/views/window_controls_view.js @@ -30,11 +30,7 @@ 'click .minimize': 'minimize' }, close: function() { - if (this.appWindow.id === 'inbox') { - this.appWindow.hide(); - } else { - this.appWindow.close(); - } + this.appWindow.close(); }, minimize: function() { this.appWindow.minimize();