Skip to content

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

Description

@xiaowl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions