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