aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authorStephen Blott2014-04-19 11:00:32 +0100
committerStephen Blott2014-04-19 11:00:32 +0100
commit222d53fe43e34d8d2fd7c2fd859de53cf5fee1f3 (patch)
tree7164c182d234b2a6006d238294dceb530c1af6af /background_scripts/main.coffee
parent5ea93cd18611d859867bdd80c44c886d29a7b958 (diff)
downloadvimium-222d53fe43e34d8d2fd7c2fd859de53cf5fee1f3.tar.bz2
Delay initializing sync until other components have started.
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee3
1 files changed, 3 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index f564f477..dc853803 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -596,3 +596,6 @@ chrome.windows.getAll { populate: true }, (windows) ->
createScrollPositionHandler = ->
(response) -> updateScrollPosition(tab, response.scrollX, response.scrollY) if response?
chrome.tabs.sendMessage(tab.id, { name: "getScrollPosition" }, createScrollPositionHandler())
+
+# Start pulling changes from synchrized storage.
+Sync.init()