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

add pageshow and pagehide #2701

Merged
merged 1 commit into from Feb 12, 2015
Merged

Conversation

SergioCrisostomo
Copy link
Member

fixes #2684

We could also add

if (type == 'pageshow' || type == 'pagehide'){
    this.persisted = event.persisted;
}

in DOMEvent.js, but since the original event is always accessible in e.event maybe no need?

@SergioCrisostomo SergioCrisostomo changed the title add pageshow and page hide add pageshow and pagehide Feb 12, 2015
arian pushed a commit that referenced this pull request Feb 12, 2015
@arian arian merged commit a1e68c7 into mootools:master Feb 12, 2015
@SergioCrisostomo SergioCrisostomo deleted the pagehide_pageshow branch February 12, 2015 23:10
@SergioCrisostomo SergioCrisostomo restored the pagehide_pageshow branch March 21, 2015 18:30
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

Successfully merging this pull request may close these issues.

can't use window.addEvent on pageshow/pagehide events
2 participants