diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index e5e62033..f0c0d4ac 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -453,7 +453,7 @@ } //if title element wasn't found, try the page div data attr too - var newPageTitle = to.jqmData( "title" ) || to.find( ".ui-header .ui-title" ).text(); + var newPageTitle = to.jqmData( "title" ) || to.find( ":jqmData(role='header') .ui-title" ).text(); if( !!newPageTitle && pageTitle === document.title ) { pageTitle = newPageTitle; }