fix: minor bugs

This commit is contained in:
wanhose 2022-01-20 15:40:41 +01:00
parent c2f3402e14
commit 63e0f9c733
2 changed files with 2 additions and 2 deletions

View File

@ -12509,4 +12509,4 @@ body > .page-container > .flex > #header > aside.bg-light.color-main.full-width.
.zbottom-cookie-container-outer .zbottom-cookie-container-outer
module-rgpd-component module-rgpd-component
.consent.consent__side--right-bottom .consent.consent__side--right-bottom
iframe[src="https://www.tumblr.com/dashboard/iframe/consent"] iframe[src="https://www.tumblr.com/dashboard/iframe/consent"]

View File

@ -60,7 +60,7 @@ const check = (node) =>
node instanceof HTMLElement && node instanceof HTMLElement &&
node.parentElement && node.parentElement &&
!["BODY", "HTML"].includes(node.tagName) && !["BODY", "HTML"].includes(node.tagName) &&
!(node.id && ["APP", "ROOT"].includes(node.id.toUpperCase())); !(node.id && ["APP", "ROOT"].includes(node.id.toUpperCase?.()));
/** /**
* @description Cleans DOM * @description Cleans DOM