issue#1 scroll to end

This commit is contained in:
Flummi 2021-12-09 17:01:17 +01:00
parent 8f3ab431b8
commit f89214f062

View File

@ -72,6 +72,11 @@
} }
}); });
} }
const rmatch = /\/p\/(\d+?)/;
if(document.referrer.match(rmatch) && document.location.href.match(rmatch))
if(document.location.href.match(rmatch) < document.referrer.match(rmatch))
document.body.scrollTop = document.body.scrollHeight;
// </scroller> // </scroller>
// <swipe> // <swipe>