bugfix
This commit is contained in:
parent
b82044555d
commit
d6561a66b8
|
@ -66,7 +66,7 @@
|
|||
// <scroller>
|
||||
let tts = 0;
|
||||
const scroll_treshold = 1;
|
||||
if(document.querySelector("div.posts")) {
|
||||
if([...document.querySelectorAll("div.posts")].length === 1) {
|
||||
document.addEventListener("wheel", e => {
|
||||
if(Math.ceil(window.innerHeight + window.scrollY) >= document.body.offsetHeight && e.deltaY > 0) { // down
|
||||
if(elem = document.querySelector(".pagination > .next:not(.disabled)")) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user