Permalink
Browse files

Re-merge pull request #1550 from MaxThrax/master.

- Not sure what happened when I originally merged this back on 05/02/2011, but here it is again!
  • Loading branch information...
1 parent 0c829f5 commit 972500bbbc29eebba1c826170e4ff9be2caa12ae @jblas jblas committed Sep 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.navigation.js
@@ -814,7 +814,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=[\"']?([^\"'>]*)[\"']?" );

0 comments on commit 972500b

Please sign in to comment.