diff --git a/client-side/history.ajax.js b/client-side/history.ajax.js index 08a3c95..8fdc8e7 100644 --- a/client-side/history.ajax.js +++ b/client-side/history.ajax.js @@ -48,7 +48,7 @@ $.nette.ext('history', { var state = e.originalEvent.state || this.initialState; var initialPop = (!this.popped && initialUrl === state.href); this.popped = true; - if (initialPop || !e.state) { + if (initialPop || !e.originalEvent.state) { return; } if (this.cache && state.ui) {