aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/settings.coffee5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/settings.coffee b/lib/settings.coffee
index 87fefd95..040c1697 100644
--- a/lib/settings.coffee
+++ b/lib/settings.coffee
@@ -27,8 +27,9 @@ Sync =
# Asynchronous message from synced storage.
handleStorageUpdate: (changes, area) ->
- for own key, change of changes
- Settings.storeAndPropagate key, change?.newValue if @shouldSyncKey key
+ if area == "sync"
+ for own key, change of changes
+ Settings.storeAndPropagate key, change?.newValue if @shouldSyncKey key
# Only called synchronously from within vimium, never on a callback.
# No need to propagate updates to the rest of vimium, that's already been done.