Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
aia Posted June 11, 2019 Posted June 11, 2019 I have some plugin with custom JS. How could i let IPS know when my JS file should be loaded? I.e. move to header or footer, load synchronously or with async or defer attribute. Thanks.
Martin A. Posted June 12, 2019 Posted June 12, 2019 All javascript load with the same priority, not async and not deferred. You should listen for the DOM loaded event, or utilize the JS controller feature if your JS fires too early.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.