Remove scrollTo on unload
This commit is contained in:
parent
19bc96a617
commit
eda1fe74f4
@ -1195,10 +1195,6 @@ window.addEventListener('load', function webViewerLoad(evt) {
|
|||||||
sidebarScrollView.addEventListener('scroll', updateThumbViewArea, true);
|
sidebarScrollView.addEventListener('scroll', updateThumbViewArea, true);
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
window.addEventListener('unload', function webViewerUnload(evt) {
|
|
||||||
window.scrollTo(0, 0);
|
|
||||||
}, true);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Render the next not yet visible page already such that it is
|
* Render the next not yet visible page already such that it is
|
||||||
* hopefully ready once the user scrolls to it.
|
* hopefully ready once the user scrolls to it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user