@coolon/angular-ui-powerups 0.0.107 → 0.0.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4863,10 +4863,14 @@
4863
4863
  */
4864
4864
  function (event) {
4865
4865
  // Depending on the state of the router and what was done we get a different
4866
- // sequence of events. I.e. If they just clicked a link we'll get a cancel
4867
- // with the locationChangeTriggerUrl as the final event. However the user
4868
- // started the initial navigation with a pop state then we'll get one of
4869
- // those with the locationChangeTriggerUrl but no cancel event with it.
4866
+ // sequence of events.
4867
+ // If the navigation change was triggered by clicking a link we'll get a cancel with the locationChangeTriggerUrl as the final event.
4868
+ // If the navigation change was triggered with a pop state then we'll get an onPopState with the locationChangeTriggerUrl but no cancel event with it.
4869
+ if (this.gotPopStateWithLeavingUrl && this.interactionService.isActive()) {
4870
+ /** @type {?} */
4871
+ var interactionIds = this.interactionService.activeInteractionContextIds.value;
4872
+ this.resetBrowserLocation(this.placeRouter.parseUrl(this.startingUrl).updateInteractionIds(interactionIds).url);
4873
+ }
4870
4874
  return this.gotPopStateWithLeavingUrl || this.locationChangeTriggerUrl === event.url ? this.createIdleState() : this.ignore(event);
4871
4875
  };
4872
4876
  /**