master #50

Merged
schrumpel merged 101 commits from master into dev 2022-10-22 23:40:03 +00:00
Showing only changes of commit d6561a66b8 - Show all commits

View File

@ -66,7 +66,7 @@
// <scroller> // <scroller>
let tts = 0; let tts = 0;
const scroll_treshold = 1; const scroll_treshold = 1;
if(document.querySelector("div.posts")) { if([...document.querySelectorAll("div.posts")].length === 1) {
document.addEventListener("wheel", e => { document.addEventListener("wheel", e => {
if(Math.ceil(window.innerHeight + window.scrollY) >= document.body.offsetHeight && e.deltaY > 0) { // down if(Math.ceil(window.innerHeight + window.scrollY) >= document.body.offsetHeight && e.deltaY > 0) { // down
if(elem = document.querySelector(".pagination > .next:not(.disabled)")) { if(elem = document.querySelector(".pagination > .next:not(.disabled)")) {