Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

Handle external script loading before our script runs

Compare
Choose a tag to compare
@debugwand debugwand released this 03 Nov 10:01

If the google API script loads before this JS runs, the load event will have already fired before we have time to set up a listener. This was showing up in IE10 where the first time you came to a page, placeholder images didn't load in.