aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--background_scripts/sync.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/background_scripts/sync.coffee b/background_scripts/sync.coffee
index f1850438..ad59f958 100644
--- a/background_scripts/sync.coffee
+++ b/background_scripts/sync.coffee
@@ -62,7 +62,8 @@ root.Sync = Sync =
# No need to propagate updates to the rest of vimium, that's already been done.
set: (key, value) ->
if @shouldSyncKey key
- @storage.set key: value
+ setting = {}; setting[key] = value
+ @storage.set setting
# Only called synchronously from within vimium, never on a callback.
clear: (key) ->