instantclick icon indicating copy to clipboard operation
instantclick copied to clipboard

Going back with the browser back button causes change to be executed.

Open calledit opened this issue 9 years ago • 2 comments

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. 

calledit avatar Apr 19 '15 09:04 calledit

Yes, I noticed that, and that’s a big problem. Will fix for 4.0.

dieulot avatar May 07 '15 07:05 dieulot

When is 4.0 coming out? Can you provide an approximate date..

agauniyal avatar Jul 08 '15 04:07 agauniyal