aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/sync.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'background_scripts/sync.coffee')
-rw-r--r--background_scripts/sync.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/sync.coffee b/background_scripts/sync.coffee
index f1850438..866faca1 100644
--- a/background_scripts/sync.coffee
+++ b/background_scripts/sync.coffee
@@ -42,7 +42,7 @@ root.Sync = Sync =
# Only ever called from asynchronous synced-storage callbacks (fetchAsync and handleStorageUpdate).
storeAndPropagate: (key, value) ->
- return if not key of Settings.defaults
+ return unless key of Settings.defaults
return if not @shouldSyncKey key
return if value and key of localStorage and localStorage[key] is value
defaultValue = Settings.defaults[key]