mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
fix: class list
This commit is contained in:
1 parent
9475d22472
commit
40a81f6b1b
1 file changed
+1
-2
@@ -5,8 +5,7 @@
|
|||||||
if (
|
if (
|
||||||
node.nodeType !== 3 ||
|
node.nodeType !== 3 ||
|
||||||
!node.textContent ||
|
!node.textContent ||
|
||||||
!(node instanceof HTMLElement) ||
|
(node as HTMLElement).classList?.contains('no-funny')
|
||||||
node.classList.contains('no-funny')
|
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user