From 3af220b4b26d10e87db2a3caf734dd3a4139a378 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 8 Feb 2015 12:39:16 +0000 Subject: Find-mode history now incorporates ingognito mode. --- background_scripts/main.coffee | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'background_scripts') 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() -- cgit v1.2.3