diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 24eaf513..3a1e5b2b 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -458,7 +458,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; }