diff --git a/src/state.js b/src/state.js index 3eb0a8d1..0762058e 100644 --- a/src/state.js +++ b/src/state.js @@ -144,6 +144,8 @@ function update (state, push) { var newHash = '#' + stringify(state) + call_hooks('state-update', state, newHash) + if (push) { history.pushState(null, null, newHash) call_hooks('statePush', state, newHash)