diff options
| author | Stephen Blott | 2015-02-14 12:19:22 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-02-14 12:19:22 +0000 |
| commit | 05f229201a05101ab4947bd436ec02d8864392f9 (patch) | |
| tree | b4dd76e7980534e7c0a9b9b62f62c1fffb16646b /background_scripts/settings.coffee | |
| parent | 358f1ebfddacf75c02bb3a2e8993bab6d2fe28d8 (diff) | |
| download | vimium-05f229201a05101ab4947bd436ec02d8864392f9.tar.bz2 | |
Grab back focus: use settings.addEventListener "load".
Doh! I didn't know this existed.
Diffstat (limited to 'background_scripts/settings.coffee')
| -rw-r--r-- | background_scripts/settings.coffee | 5 |
1 files changed, 1 insertions, 4 deletions
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 |
