Merge pull request #1431 from notmasteryet/tree-88

Remove scrollTo on unload
This commit is contained in:
Brendan Dahl 2012-03-27 17:40:48 -07:00
commit 1943134193

View File

@ -1195,10 +1195,6 @@ window.addEventListener('load', function webViewerLoad(evt) {
sidebarScrollView.addEventListener('scroll', updateThumbViewArea, 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
* hopefully ready once the user scrolls to it.