fix(browser-extension): late force clean ends in undefined if no data
This commit is contained in:
parent
2d3db78d57
commit
25b976d10c
@ -245,7 +245,7 @@ const observer = new MutationObserver((mutations) => {
|
|||||||
window.addEventListener('focus', async () => {
|
window.addEventListener('focus', async () => {
|
||||||
if (!data) {
|
if (!data) {
|
||||||
await runSetup(true);
|
await runSetup(true);
|
||||||
forceClean(document.body);
|
clean([...document.body.children]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user