From 5398abdb0af3b0d7938c8b34bfda762c5995d427 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 19 Apr 2014 14:27:34 +0100 Subject: Fix sync.init. --- background_scripts/sync.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') diff --git a/background_scripts/sync.coffee b/background_scripts/sync.coffee index dfa260b5..4413a748 100644 --- a/background_scripts/sync.coffee +++ b/background_scripts/sync.coffee @@ -34,7 +34,7 @@ root.Sync = Sync = chrome.storage.onChanged.addListener (changes, area) -> Sync.listener changes, area init: -> - chrome.storage.onChanged.addListener (changes, area) -> Sync.listener changes, area + @pull() # Asynchronous fetch from synced storage, called only at startup. pull: -> -- cgit v1.2.3