blob: 047f2b75909eebb4b6e511eb075eb4c530118c2f [file] [log] [blame]
chrome.storage.sync.get(null, function(items) {
if (items.loaddrafts || items.batchduplicate) {
var startup = JSON.parse(document.querySelector("html").getAttribute("data-startup"));
if (items.loaddrafts) {
startup[4][13] = true;
}
if (items.batchduplicate) {
startup[4][58] = true;
}
document.querySelector("html").setAttribute("data-startup", JSON.stringify(startup));
}
});