instantclick
instantclick copied to clipboard
Going back with the browser back button causes change to be executed.
Test this and see the supposed behavior of: DOMContentLoaded
document.addEventListener("DOMContentLoaded", function(){console.log("DOMContentLoaded")});
DOMContentLoaded does not trigger when one goes back in history.
According to the instantclick documentation about the change event:
change : The page is changed, also triggered on initial page load and if InstantClick is not supported. Replaces DOMContentLoaded.
Yes, I noticed that, and that’s a big problem. Will fix for 4.0.
When is 4.0 coming out? Can you provide an approximate date..