Permalink
Browse files

remove initial destination record from history object

  • Loading branch information...
1 parent 0223dc2 commit 842081d6ea2d5ca24842f35df1af836157757d0c @johnbender johnbender committed Dec 18, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 js/navigation/history.js
View
3 js/navigation/history.js
@@ -8,10 +8,9 @@ define([ "jquery", "./path" ], function( $ ) {
(function( $ ) {
var path = $.mobile.path;
- $.History = function( stack, index, initialDestination ) {
+ $.History = function( stack, index ) {
this.stack = stack || [];
this.activeIndex = index || 0;
- this.initialDst = initialDestination || path.parseLocation().hash.replace( /^#/, "" );
};
$.extend($.History.prototype, {

0 comments on commit 842081d

Please sign in to comment.