Skip to content

Commit

Permalink
Restored new tab cookie names
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi Kohn committed Aug 19, 2015
1 parent 0f2c844 commit 03afbaf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/js/storage/syncapi.js
Expand Up @@ -80,7 +80,7 @@ define(["jquery", "lodash", "core/analytics", "core/info"], function($, _, Track
});

chrome.cookies.get({
name: "sync_data_main",
name: "sync_data",
url: "http://ichro.me"
}, function(d) {
try {
Expand Down Expand Up @@ -119,7 +119,7 @@ define(["jquery", "lodash", "core/analytics", "core/info"], function($, _, Track
});

chrome.cookies.set({
name: "sync_data_main",
name: "sync_data",
domain: ".ichro.me",
url: "http://ichro.me",
value: JSON.stringify(_.assign({}, clientData, {
Expand Down Expand Up @@ -282,7 +282,7 @@ define(["jquery", "lodash", "core/analytics", "core/info"], function($, _, Track
chrome.storage.sync.remove("syncData");

chrome.cookies.remove({
name: "sync_data_main",
name: "sync_data",
url: "http://ichro.me"
});

Expand Down Expand Up @@ -428,7 +428,7 @@ define(["jquery", "lodash", "core/analytics", "core/info"], function($, _, Track
chrome.storage.sync.remove("syncData");

chrome.cookies.remove({
name: "sync_data_main",
name: "sync_data",
url: "http://ichro.me"
});

Expand Down

0 comments on commit 03afbaf

Please sign in to comment.