add pageshow and pagehide #2701

Merged
merged 1 commit into from Feb 12, 2015

Projects

None yet

2 participants

@SergioCrisostomo
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 from add pageshow and page hide to add pageshow and pagehide Feb 12, 2015
@arian arian merged commit a1e68c7 into mootools:master Feb 12, 2015

1 check was pending

continuous-integration/travis-ci The Travis CI build is in progress
Details
@SergioCrisostomo SergioCrisostomo deleted the SergioCrisostomo:pagehide_pageshow branch Feb 12, 2015
@SergioCrisostomo SergioCrisostomo restored the SergioCrisostomo:pagehide_pageshow branch Mar 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment