Search code examples
javascriptjquerybrowser-historyhistory.js

Statechange is firing whenever i do a push-state


I am using history.js to handle back button. In history.js statechange is firing whenever i do a pushstate. Why?


Solution

  • According to this discussion on github, it's expected behaviour of history.js

    This pull request claims to have modified history.js to be more inline with W3C Specs.