From 06b35cde7c11ca5a35f46e4ae3316587476ff6b5 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Wed, 25 Nov 2015 12:38:59 -0800 Subject: [PATCH] fix(work): Treat work window as if it's always visible --- src/browser/nylas-window.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/nylas-window.coffee b/src/browser/nylas-window.coffee index ac27824c8..5ab846d6d 100644 --- a/src/browser/nylas-window.coffee +++ b/src/browser/nylas-window.coffee @@ -61,7 +61,7 @@ class NylasWindow webPreferences: directWrite: true - if @mainWindow + if @neverClose # Prevents DOM timers from being suspended when the main window is hidden. # Means there's not an awkward catch-up when you re-show the main window. options.webPreferences.pageVisibility = true