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

Commit

Permalink
remove initial destination record from history object
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Dec 18, 2012
1 parent 0223dc2 commit 842081d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/navigation/history.js
Expand Up @@ -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, {
Expand Down

0 comments on commit 842081d

Please sign in to comment.