fix: minor bugs
This commit is contained in:
parent
c2f3402e14
commit
63e0f9c733
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user