fix: browser console error
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m2s

This commit is contained in:
2026-01-01 16:06:25 +01:00
parent 1be46780bb
commit 2ac14c84cc

View File

@@ -1,10 +1,16 @@
document.addEventListener("DOMContentLoaded", () => {
if (!page || !page1 || !pagePrev1 || !pageNext1 || !page2 || !pagePrev2 || !pageNext2 || !transactionFilterForm) {
if (typeof page === "undefined" ||
typeof page1 === "undefined" ||
typeof pagePrev1 === "undefined" ||
typeof pageNext1 === "undefined" ||
typeof page2 === "undefined" ||
typeof pagePrev2 === "undefined" ||
typeof pageNext2 === "undefined" ||
typeof transactionFilterForm === "undefined") {
return;
}
const scrollToTop = function() {
window.scrollTo(0, 0);
};