Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
maybe fix #7405
Browse files Browse the repository at this point in the history
  • Loading branch information
diracdeltas committed Feb 28, 2017
1 parent c0d1f84 commit 9773c75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ let pollIntervalId = null
let deviceIdSent = false
let bookmarksToolbarShown = false

const folderToObjectId = {}

/**
* Sends sync records of the same category to the sync server.
* @param {event.sender} sender
Expand Down Expand Up @@ -185,7 +187,6 @@ module.exports.onSyncReady = (isFirstRun, e) => {
* call; there's not enough time to dispatch id updates to appStore.sites.
* @param {Immutable.Map} site
*/
const folderToObjectId = {}
const syncBookmark = (site) => {
if (!site || site.get('objectId') || folderToObjectId[site.get('folderId')] || !syncUtil.isSyncable('bookmark', site)) {
return
Expand Down

0 comments on commit 9773c75

Please sign in to comment.