From b2005d4f63110ef876180b7b038b298e100b0e9c Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 31 Aug 2020 16:56:16 -0400 Subject: fixed scrolling of browser when following a link in nested web page that leads to another palce within that web page --- src/client/views/collections/CollectionDockingView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/collections') diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index d8e95bcdc..5f05b1193 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -261,7 +261,7 @@ export class CollectionDockingView extends CollectionSubView(doc => doc) { this._ignoreStateChange = ""; }); setTimeout(() => this.setupGoldenLayout(), 0); - window.addEventListener('resize', this.onResize); // bcz: would rather add this event to the parent node, but resize events only come from Window + //window.addEventListener('resize', this.onResize); // bcz: would rather add this event to the parent node, but resize events only come from Window } } -- cgit v1.2.3-70-g09d2