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

Commit

Permalink
Store title of initial page so it will appear correctly if reloaded v…
Browse files Browse the repository at this point in the history
…ia link instead of back button
  • Loading branch information
garann committed Nov 7, 2011
1 parent 6699dab commit 158a65c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/jquery.mobile.navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,9 @@
if( !!newPageTitle && pageTitle == document.title ) {
pageTitle = newPageTitle;
}
if ( !toPage.jqmData( "title" ) ) {
toPage.jqmData( "title", pageTitle );
}

// Make sure we have a transition defined.
settings.transition = settings.transition
Expand Down

0 comments on commit 158a65c

Please sign in to comment.