Skip to content

Commit 8e1e77b

Browse files
committed
Get deep linking to internal pages working again. We can now also deep link to nested list sub-pages that are contained within internal pages.
1 parent 33b9ee8 commit 8e1e77b

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
@@ -1065,7 +1065,7 @@
10651065

10661066
//if to is defined, load it
10671067
if ( to ) {
1068-
$.mobile.changePage( to, { transition: transition, changeHash: false, fromHashChange: true } );
1068+
$.mobile.changePage( ( path.isPath(to) ? "" : "#" ) + to, { transition: transition, changeHash: false, fromHashChange: true } );
10691069
}
10701070
//there's no hash, go to the first page in the dom
10711071
else {

0 commit comments

Comments
 (0)