Temporarily efficient way to forget that memory

remove incorrect importation method
This commit is contained in:
buzzcode2007 2024-04-11 16:02:34 +08:00
parent b031e842e1
commit 39f537858f

View file

@ -98,10 +98,7 @@ function events(window) {
document
.querySelector(`[data-action="storage,clear"]`)
.addEventListener(`click`, async () => {
let storage = (
await import(chrome.runtime.getURL(`scripts/secretariat.js`))
)["secretariat"];
storage.forget(`sites`);
secretariat.forget(`sites`);
});
}
}