aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-02-08 12:39:16 +0000
committerStephen Blott2015-02-08 13:24:40 +0000
commit3af220b4b26d10e87db2a3caf734dd3a4139a378 (patch)
tree9c10fa0802841953061b0f14688a2f6f3593f616 /background_scripts
parent1df1b9bdcd7155631d048a3645541db525cd4443 (diff)
downloadvimium-3af220b4b26d10e87db2a3caf734dd3a4139a378.tar.bz2
Find-mode history now incorporates ingognito mode.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee4
1 files changed, 4 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 06df8988..65b97aff 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -189,6 +189,10 @@ handleSettings = (args, port) ->
port.postMessage({ key: args.key, value: value })
else # operation == "set"
Settings.set(args.key, args.value)
+ # For some settings, we propagate changes to all tabs immediately.
+ # In the case of findModeRawQueryList, this allows each tab to accurately track the find-mode history.
+ if args.key in [ "findModeRawQueryList" ]
+ sendRequestToAllTabs extend args, name: "updateSettings"
refreshCompleter = (request) -> completers[request.name].refresh()