history.js: Set `lastPushUrl` in method `replaceCurrentState()`
Without this, any subsequent call to `pushCurrentState()` has no effect in case the same url is used that was replaced.
This commit is contained in:
parent
627f388cfa
commit
f05f905d14
|
@ -126,6 +126,7 @@
|
|||
|
||||
if (state.url) {
|
||||
this.icinga.logger.debug('Replacing current history state');
|
||||
this.lastPushUrl = state.url;
|
||||
window.history.replaceState(
|
||||
this.getBehaviorState(),
|
||||
null,
|
||||
|
|
Loading…
Reference in New Issue