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