The forums ran from 2008-2020 and are now closed and viewable here as an archive.
When using a script on Firefox, something was not working. Turns out, things were not being loaded across browsers the same. Particularly an SVG was not loaded at the same point in Chrome and FF.
So eventually I came to use the following:
Any idea why this would not work the same…? Do both of these not fire once the document is loaded? Actually… wouldn’t the Jquery fire after the document is loaded, rather than the window?
I have a feeling I’m gonna learn me something here ;)
Using .load like that is deprecated though, the preferred way would be $(window).on('load', ... ) now.
$(window).on('load', ... )