From bd608b96f9d9a397f9eff0ea56e0daba9c89e344 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Mon, 9 Dec 2019 16:33:00 +0100 Subject: [PATCH] scrollToQuickNav: silent fail when anchor is gone (increase screen size) --- src/app/app.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index aee34f362..1990f8cab 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -759,8 +759,6 @@ export class AppComponent implements OnInit, OnDestroy, Observer { }); // Save position this._calculators[idx].latestAnchor = itemId; - } else { - throw Error("scrollToQuicknav: cannot find anchor " + id); } } } -- GitLab