Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Press "back" button much times to exit the app. #1

Open
xiaowl opened this issue Feb 20, 2012 · 0 comments
Open

Press "back" button much times to exit the app. #1

xiaowl opened this issue Feb 20, 2012 · 0 comments

Comments

@xiaowl
Copy link
Owner

xiaowl commented Feb 20, 2012

jQ.Mobi call history.pushState() everytime a content is loaded. "back" button will trigger "popsate" event when clicked, this event is listened by jQ.Mobi and call $.ui.goBack() immediately.
But, when there is no history entry in $.ui.history, the app should exist. Even there still are entries in window.history.

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

No branches or pull requests

1 participant