diff options
| author | Stephen Blott | 2015-02-09 11:09:19 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-02-09 11:09:19 +0000 |
| commit | ac648a0e9f53c2fc359daa68309c25dd8c9db031 (patch) | |
| tree | 7e642364a7fe70eafe8ca86f8b3e445c7b7e2400 /background_scripts | |
| parent | e2f715848d1a48481445d7d32d0951e8768c3526 (diff) | |
| download | vimium-ac648a0e9f53c2fc359daa68309c25dd8c9db031.tar.bz2 | |
Fix syncing bug.
This fixes a second dumb error I made in #1456.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/sync.coffee | 3 |
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) -> |
