Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Back button gotcha #5082

Closed
ghost opened this issue Sep 25, 2012 · 1 comment
Closed

Back button gotcha #5082

ghost opened this issue Sep 25, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 25, 2012

In the header I have a typical back button.

<a href="/home" data-prefetch data-rel="back" data-icon="back">Back</a>

The problem with this is that I have to enter that page from the parent page (in this case /home) for this button to work.

If I open that page in a new tab then clicking on that button will take me nowhere since there is no back history.

Can't it be done that when clicking on that button JQM will check if there is a back page saved in the history. If yes, then the back button is triggered, if no, then it will enter the page specified in href.

@jaspermdegroot
Copy link
Contributor

Closing as duplicate of #4732

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant