bendc / animateplus

A+ animation module for the modern web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught TypeError: Cannot read property 'forEach' of undefined

davidmerrique opened this issue · comments

Hi. These are some smooth animations.

I just discovered a bug.

If you load a page in the background (You can try it on any of the examples by going to a different tab and reloading the animation tab), an error is thrown because a property isn't set.

Checking for the existence of paused.all before calling all.forEach fixes it.

all.forEach(object => {

Thanks!

Good catch, will fix. Thanks!

Fixed -- sorry for the delay!