From a91ad9181bca1eeb841d8c0cdcd4a09b657498c0 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 15 Apr 2016 16:02:31 +0200 Subject: [PATCH] Fix backgroundThrottling assignment --- src/browser/atom-window.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/atom-window.coffee b/src/browser/atom-window.coffee index 398a3d01c..951b89ad9 100644 --- a/src/browser/atom-window.coffee +++ b/src/browser/atom-window.coffee @@ -26,7 +26,7 @@ class AtomWindow title: 'Atom' if @isSpec - options.webPreferences.backgroundThrottling = false + options.webPreferences = {backgroundThrottling: false} # Don't set icon on Windows so the exe's ico will be used as window and # taskbar's icon. See https://github.com/atom/atom/issues/4811 for more.