Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Transitions: Make sure page has active class after non-sequential sam…
Browse files Browse the repository at this point in the history
…e page transition Fixes #4078 - Page receives display:none after samePageTransition
  • Loading branch information
arschmitz committed Sep 23, 2013
1 parent b54f77d commit 80eabd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/transitions/transition.js
Expand Up @@ -59,7 +59,9 @@ define( [ "jquery",
if ( $.mobile.window.scrollTop() !== this.toScroll ) {
this.scrollPage();
}

if( !this.sequential ){
this.$to.addClass( $.mobile.activePageClass );
}
this.deferred.resolve( this.name, this.reverse, this.$to, this.$from, true );
},

Expand Down

0 comments on commit 80eabd1

Please sign in to comment.