From 358f1ebfddacf75c02bb3a2e8993bab6d2fe28d8 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 13 Feb 2015 06:53:51 +0000 Subject: 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. --- background_scripts/settings.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'background_scripts') 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 -- cgit v1.2.3