fix(browser-extension): one last minor bug
This commit is contained in:
parent
59e1e5be61
commit
edc4cd6a8a
@ -76,7 +76,11 @@ const check = (node) =>
|
||||
* @returns {void}
|
||||
*/
|
||||
|
||||
const clean = (nodes) => nodes.filter(check).forEach((node) => (node.outerHTML = ''));
|
||||
const clean = (nodes) => {
|
||||
if (selectors.length) {
|
||||
nodes.filter(check).forEach((node) => (node.outerHTML = ''));
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @description Fixes scroll issues
|
||||
|
Loading…
Reference in New Issue
Block a user