aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-02-09 11:09:19 +0000
committerStephen Blott2015-02-09 11:09:19 +0000
commitac648a0e9f53c2fc359daa68309c25dd8c9db031 (patch)
tree7e642364a7fe70eafe8ca86f8b3e445c7b7e2400
parente2f715848d1a48481445d7d32d0951e8768c3526 (diff)
downloadvimium-ac648a0e9f53c2fc359daa68309c25dd8c9db031.tar.bz2
Fix syncing bug.
This fixes a second dumb error I made in #1456.
-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) ->