defunkt / jquery-pjax

pushState + ajax = pjax
https://pjax.herokuapp.com
MIT License
16.74k stars 1.97k forks source link

Link to do just as browser back button #710

Closed ZalemCitizen closed 5 years ago

ZalemCitizen commented 5 years ago

Hello there,

Maybe I didn't notice a simple way to do so, but I need to make a link that act just as a a click on the browser back button which is restore the last pjax state on container and restore the previous URL.

Is there a way to do so ?

ZalemCitizen commented 5 years ago

Forget it : guess I had an event bubbling situation in my history.back() tests.. history.back() is the simple way to do so.

urielQ commented 5 years ago

sorry,I don't know about jquery-pjax