Permalink
Browse files

Store title of initial page so it will appear correctly if reloaded v…

…ia link instead of back button
  • Loading branch information...
1 parent 6699dab commit 158a65c1fd7f34afb6f157921a1604f6e3159a29 @garann garann committed Nov 7, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 js/jquery.mobile.navigation.js
@@ -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

0 comments on commit 158a65c

Please sign in to comment.