diff options
| author | Stephen Blott | 2015-02-13 06:53:51 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-02-13 07:32:06 +0000 |
| commit | 358f1ebfddacf75c02bb3a2e8993bab6d2fe28d8 (patch) | |
| tree | f69c6598692343474c53fad77b65f9fb832f2f63 /background_scripts | |
| parent | ffc49d3057daee2354fb77d939fffc0cf77ff2e1 (diff) | |
| download | vimium-358f1ebfddacf75c02bb3a2e8993bab6d2fe28d8.tar.bz2 | |
Tweaks for grab-back-focus.
- Fix incorrect camel case in option name.
- Better text on options page.
- Loud comments re. using option directly from chrome.storage.sync.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/settings.coffee | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/background_scripts/settings.coffee b/background_scripts/settings.coffee index 4342aa26..a60f2e09 100644 --- a/background_scripts/settings.coffee +++ b/background_scripts/settings.coffee @@ -73,7 +73,6 @@ root.Settings = Settings = linkHintNumbers: "0123456789" filterLinkHints: false hideHud: false - grabBackfocus: false userDefinedLinkHintCss: """ div > .vimiumHintMarker { @@ -117,6 +116,10 @@ root.Settings = Settings = 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 |
