MoOx / pjax

Easily enable fast Ajax navigation on any website (using pushState + xhr)
MIT License
1.46k stars 125 forks source link

Ensure we abort pending XHR in popstate handler #9

Closed MoOx closed 6 years ago

MoOx commented 10 years ago

See https://github.com/defunkt/jquery-pjax/pull/395/files

BehindTheMath commented 6 years ago

I.e. if the user clicks back while a PJAX request is loading, the originally requested page is displayed anyway once the XHR response arrives.