Permalink
Browse files

Navigation: Strip initial hash character off initialDst

  • Loading branch information...
1 parent ffbe18a commit cf0cb0fb3e49f80aee09233f0c80702c6f3b8db0 @gabrielschulhof gabrielschulhof committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/navigation/navigate.js
@@ -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,

0 comments on commit cf0cb0f

Please sign in to comment.