Radnen Posted July 30, 2021 Share Posted July 30, 2021 (edited) Sometimes when viewing a mod page, we don't have the offsetHeight loaded (0) and it causes a divide by 0, which JS interprets as Infinity. Then, the for loop occurs and never breaks out of it. Trust me; I'm a programmer. If this happens we can silently fail and bypass the loop (check for 0, Infinity or isNaN()), or defer the code with 'requestAnimationFrame' so it can wait for sizes of things to load. Edited July 30, 2021 by Radnen Link to comment Share on other sites More sharing options...
Pickysaurus Posted July 30, 2021 Share Posted July 30, 2021 Hi there, I'm afraid this report is a bit vague so I'm not clear on what exactly you're referring to. If you're a developer you might be able to report it on GitHub following the issue format to provide more information? https://github.com/Nexus-Mods/web-issues/issues Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now