Skip to content

Commit cff12a4

Browse files
committed
Merge pull request jquery-archive#1550 from MaxThrax/master.
Resolve issue jquery-archive#1514
2 parents af3b8ce + 91126e4 commit cff12a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@
577577
newPageTitle = html.match( /<title[^>]*>([^<]*)/ ) && RegExp.$1,
578578

579579
// TODO handle dialogs again
580-
pageElemRegex = new RegExp( ".*(<[^>]+\\bdata-" + $.mobile.ns + "role=[\"']?page[\"']?[^>]*>).*" ),
580+
pageElemRegex = new RegExp( "(<[^>]+\\bdata-" + $.mobile.ns + "role=[\"']?page[\"']?[^>]*>)" ),
581581
dataUrlRegex = new RegExp( "\\bdata-" + $.mobile.ns + "url=[\"']?([^\"'>]*)[\"']?" );
582582

583583
// data-url must be provided for the base tag so resource requests can be directed to the

0 commit comments

Comments
 (0)