Remove scrollTo on unload

This commit is contained in:
notmasteryet 2012-03-27 11:48:47 -05:00
parent 19bc96a617
commit eda1fe74f4

View File

@ -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.