This commit is contained in:
Dominic Grimm 2023-02-28 13:21:00 +01:00
parent 9eae8bff44
commit 38b644f3fa
No known key found for this signature in database
GPG key ID: 6F294212DEAAC530

View file

@ -8,7 +8,8 @@ window.onerror = function () {
const elementCount = JSON.parse($("#data-element-count").text());
const waitDelay = 15_000;
const scrollDuration = elementCount * 200;
const scrollDuration =
($(document).height() / $(window).height()) * elementCount * 200;
function reload() {
window.location.reload();