mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-04 17:18:40 +00:00
fix tail
This commit is contained in:
parent
068f5b19a8
commit
0153a8bfc6
|
@ -50,8 +50,8 @@ $(function() {
|
|||
clearInterval(scrollTimer);
|
||||
// Check when scrolling stops
|
||||
scrollTimer = setInterval(function() {
|
||||
// If scrolling pauses 300+ms
|
||||
if (Date.now() - lastScrollTime > 300) {
|
||||
// If scrolling pauses 200+ms
|
||||
if (Date.now() - lastScrollTime > 200) {
|
||||
clearInterval(scrollTimer);
|
||||
// Only render pages that are or will be visible
|
||||
selectiveRender();
|
||||
|
|
Loading…
Reference in New Issue
Block a user