mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
make it work in WebKit
This commit is contained in:
parent
a523d80753
commit
4369a1a84a
1 changed files with 3 additions and 7 deletions
|
@ -701,13 +701,9 @@ function updateThumbViewArea() {
|
|||
}, delay);
|
||||
}
|
||||
|
||||
sidebarScrollView.addEventListener('scroll', function thumbViewScroll(evt) {
|
||||
updateThumbViewArea();
|
||||
}, true);
|
||||
|
||||
window.addEventListener('transitionend', function webViewerTransitionend(evt) {
|
||||
updateThumbViewArea();
|
||||
}, true);
|
||||
sidebarScrollView.addEventListener('scroll', updateThumbViewArea, true);
|
||||
window.addEventListener('transitionend', updateThumbViewArea, true);
|
||||
window.addEventListener('webkitTransitionEnd', updateThumbViewArea, true);
|
||||
|
||||
window.addEventListener('resize', function webViewerResize(evt) {
|
||||
if (document.getElementById('pageWidthOption').selected ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue