mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +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 (
|
||||
node.nodeType !== 3 ||
|
||||
!node.textContent ||
|
||||
!(node instanceof HTMLElement) ||
|
||||
node.classList.contains('no-funny')
|
||||
(node as HTMLElement).classList?.contains('no-funny')
|
||||
)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user