We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf605a commit e11a86aCopy full SHA for e11a86a
background_scripts/sync.coffee
@@ -42,7 +42,7 @@ root.Sync = Sync =
42
43
# Only ever called from asynchronous synced-storage callbacks (fetchAsync and handleStorageUpdate).
44
storeAndPropagate: (key, value) ->
45
- return if not key of Settings.defaults
+ return unless key of Settings.defaults
46
return if not @shouldSyncKey key
47
return if value and key of localStorage and localStorage[key] is value
48
defaultValue = Settings.defaults[key]
0 commit comments