Remove garbage code

This commit is contained in:
mickie 2021-01-13 22:11:11 -06:00
parent 674efba41d
commit e9ab754332
1 changed files with 0 additions and 16 deletions

View File

@ -87,19 +87,3 @@ const restoreCheckbox = (checkKey, checkId) => {
document.addEventListener('DOMContentLoaded', restoreOptions, saveCheckbox) document.addEventListener('DOMContentLoaded', restoreOptions, saveCheckbox)
document.querySelector("form").addEventListener("submit", saveOptions) document.querySelector("form").addEventListener("submit", saveOptions)
// test zone
function onGot(item) {
console.log(item);
}
function onError(error) {
console.log(`Error: ${error}`);
}
let allItems = browser.storage.sync.get()
allItems.then(onGot, onError)
const itemValueOpt = chrome.storage.sync.get('pleromaCheck', item => {
console.log(item.pleromaCheck)
})