WOW icon indicating copy to clipboard operation
WOW copied to clipboard

Uncaught TypeError: b.className.replace is not a function

Open gleenk opened this issue 6 years ago • 10 comments

Everything is working but i get this console error:

Uncaught TypeError: b.className.replace is not a function at e.resetAnimation (wow.min.js?ver=4.9.5:2) at HTMLAnchorElement.<anonymous> (wow.min.js?ver=4.9.5:2) e.resetAnimation @ wow.min.js?ver=4.9.5:2 (anonymous) @ wow.min.js?ver=4.9.5:2

How to fix that?

gleenk avatar Apr 05 '18 09:04 gleenk

Still have that problem, it generates repeated errors in console.

gleenk avatar Dec 04 '18 11:12 gleenk

me to

Showcase-Joz avatar Jun 20 '19 09:06 Showcase-Joz

How to solve zone.js:199 Uncaught TypeError: t.className.replace is not a function at T (client-track.js?20198917:1) at HTMLDocument. (client-track.js?20198917:1) at ZoneDelegate.push.../../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423) at Zone.push.../../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195) at ZoneTask.push.../../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498) at invokeTask (zone.js:1744) at HTMLDocument.globalZoneAwareCaptureCallback (zone.js:1802)

Where is the solution? @vijaymobio

gleenk avatar Sep 09 '19 12:09 gleenk

same error- how to solve

zone.js:199 Uncaught TypeError: t.className.replace is not a function at T (client-track.js?2019102510:1) at HTMLDocument. (client-track.js?2019102510:1) at ZoneDelegate.push.../../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423) at Zone.push.../../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195) at ZoneTask.push.../../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498) at invokeTask (zone.js:1744) at HTMLDocument.globalZoneAwareCaptureCallback (zone.js:1813)

vijaymobio avatar Nov 25 '19 05:11 vijaymobio

Yes, i get this error too, but everything is working

karamansky avatar Jun 28 '20 18:06 karamansky

I also get it

ferdinandmsu avatar Feb 28 '23 16:02 ferdinandmsu

I also got this problem. I had a block with a .wow class, and inside a svg with hover animation. This code solved my problem: svg.addEventListener("animationend", (event) => { event.stopPropagation(); }); This error occurs in the resetAnimation() function in wow.js, which is called on the 'animationend' event. So it's enough just to listen 'animationend' and use stopPropagation().

Daryaarti avatar Jun 01 '23 07:06 Daryaarti

Hello,我是林昕,我已收到来信~

veraLX avatar Jun 01 '23 07:06 veraLX

This error occurs with you try to animate svg element, try to add span and put the svg inside and animate that span.

ABDELMOUMEN-MUSTAFA avatar Aug 06 '23 16:08 ABDELMOUMEN-MUSTAFA

Hello,我是林昕,我已收到来信~

veraLX avatar Aug 06 '23 16:08 veraLX