Fixed uncheck "Enable Animations, Using Multiplier" causes javascript error with ajax loading image

Jake Bunce

Well-known member
Affected version
1.5.17
1) Uncheck "Enable Animations, Using Multiplier" in the style properties.

2) Go to a forum on the front end.

3) Click "Watch Forum".

4) Click the "Watch Forum" button in the overlay to confirm.

You will notice the loading image in the top right corner doesn't go away. The console shows an error:

1522987419138.webp
 
This appears to happen if the overlay is decached too early, which will happen if there are no animations to delay it.

I've wrapped it in a setTimeout 0 and moved the ovleray close function and that seems to solve it.
 
Top Bottom