diff options
Diffstat (limited to 'lib/settings.coffee')
| -rw-r--r-- | lib/settings.coffee | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/settings.coffee b/lib/settings.coffee index 62dc09e7..38718990 100644 --- a/lib/settings.coffee +++ b/lib/settings.coffee @@ -10,6 +10,9 @@ # # In all cases except Settings.defaults, values are stored as jsonified strings. +# If the current frame is the Vomnibar or the HUD, then we'll need our Chrome stubs for the tests. +window.chrome ?= window.top?.chrome + storageArea = if chrome.storage.sync? then "sync" else "local" Settings = @@ -193,6 +196,7 @@ Settings = helpDialog_showAdvancedCommands: false optionsPage_showAdvancedOptions: false passNextKeyKeys: [] + ignoreKeyboardLayout: false Settings.init() |
