fix: class list

This commit is contained in:
tresabhi committed 2025-03-31 17:39:01 -05:00
1 parent 9475d22472
commit 40a81f6b1b
1 file changed
+1 -2
+1 -2
View File
@@ -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;