add pageshow and pagehide #2701

merged 1 commit into from Feb 12, 2015


None yet

2 participants


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
@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