From 05f229201a05101ab4947bd436ec02d8864392f9 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 14 Feb 2015 12:19:22 +0000 Subject: Grab back focus: use settings.addEventListener "load". Doh! I didn't know this existed. --- background_scripts/settings.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/settings.coffee b/background_scripts/settings.coffee index a60f2e09..3528e8a9 100644 --- a/background_scripts/settings.coffee +++ b/background_scripts/settings.coffee @@ -113,13 +113,10 @@ root.Settings = Settings = # put in an example search engine searchEngines: "w: http://www.wikipedia.org/w/index.php?title=Special:Search&search=%s wikipedia" newTabUrl: "chrome://newtab" + grabBackFocus: false settingsVersion: Utils.getCurrentVersion() - # NOTE. This setting is accessed directly via chrome.storage.sync in the front end. There, we assume that - # the default value is false. - grabBackFocus: false - # We use settingsVersion to coordinate any necessary schema changes. if Utils.compareVersions("1.42", Settings.get("settingsVersion")) != -1 -- cgit v1.2.3