We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af3b8ce + 91126e4 commit cff12a4Copy full SHA for cff12a4
js/jquery.mobile.navigation.js
@@ -577,7 +577,7 @@
577
newPageTitle = html.match( /<title[^>]*>([^<]*)/ ) && RegExp.$1,
578
579
// TODO handle dialogs again
580
- pageElemRegex = new RegExp( ".*(<[^>]+\\bdata-" + $.mobile.ns + "role=[\"']?page[\"']?[^>]*>).*" ),
+ pageElemRegex = new RegExp( "(<[^>]+\\bdata-" + $.mobile.ns + "role=[\"']?page[\"']?[^>]*>)" ),
581
dataUrlRegex = new RegExp( "\\bdata-" + $.mobile.ns + "url=[\"']?([^\"'>]*)[\"']?" );
582
583
// data-url must be provided for the base tag so resource requests can be directed to the
0 commit comments