Skip to content

Commit

Permalink
Correctly update state when on popstate
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwasner committed Jun 2, 2016
1 parent 03bb5f3 commit 83f2bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mvc/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var Router = Disposable.extend(function(viewManager){
var _always = () => {
History.isRoutingBack = false;
};
this.exec(e.url, e).then(_always, _always);
this.exec(e.url, e, {}).then(_always, _always);
}
};
History.on('popstate', this.onpopstate, this);
Expand Down

0 comments on commit 83f2bcc

Please sign in to comment.