fix(browser-extension): late force clean ends in undefined if no data

This commit is contained in:
wanhose 2023-10-08 12:24:05 +02:00
parent 2d3db78d57
commit 25b976d10c

View File

@ -245,7 +245,7 @@ const observer = new MutationObserver((mutations) => {
window.addEventListener('focus', async () => {
if (!data) {
await runSetup(true);
forceClean(document.body);
clean([...document.body.children]);
}
});