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

Commit

Permalink
Navigation: Strip initial hash character off initialDst
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Dec 12, 2012
1 parent ffbe18a commit cf0cb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/navigation/navigate.js
Expand Up @@ -269,7 +269,7 @@ define([
// Each has a url and optional transition, title, and pageUrl (which represents the file path, in cases where URL is obscured, such as dialogs)
stack: [],

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

//maintain an index number for the active page in the stack
activeIndex: 0,
Expand Down

0 comments on commit cf0cb0f

Please sign in to comment.