Permalink
Browse files

Merge pull request #1550 from MaxThrax/master.

Resolve issue #1514
  • Loading branch information...
2 parents af3b8ce + 91126e4 commit cff12a4b9537b68d10a82bcbec42d6ec40e8555e @jblas jblas committed May 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.navigation.js
@@ -577,7 +577,7 @@
newPageTitle = html.match( /<title[^>]*>([^<]*)/ ) && RegExp.$1,
// TODO handle dialogs again
- pageElemRegex = new RegExp( ".*(<[^>]+\\bdata-" + $.mobile.ns + "role=[\"']?page[\"']?[^>]*>).*" ),
+ pageElemRegex = new RegExp( "(<[^>]+\\bdata-" + $.mobile.ns + "role=[\"']?page[\"']?[^>]*>)" ),
dataUrlRegex = new RegExp( "\\bdata-" + $.mobile.ns + "url=[\"']?([^\"'>]*)[\"']?" );
// data-url must be provided for the base tag so resource requests can be directed to the

0 comments on commit cff12a4

Please sign in to comment.