Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit cf0cb0f

Browse files
author
Gabriel Schulhof
committed
Navigation: Strip initial hash character off initialDst
1 parent ffbe18a commit cf0cb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/navigation/navigate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ define([
269269
// Each has a url and optional transition, title, and pageUrl (which represents the file path, in cases where URL is obscured, such as dialogs)
270270
stack: [],
271271

272-
initialDst: $.mobile.path.parseLocation().hash,
272+
initialDst: $.mobile.path.parseLocation().hash.replace( /^#/, "" ),
273273

274274
//maintain an index number for the active page in the stack
275275
activeIndex: 0,

0 commit comments

Comments
 (0)