fix: browser console error
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m2s
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 2m2s
This commit is contained in:
@@ -1,10 +1,16 @@
|
|||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const scrollToTop = function() {
|
const scrollToTop = function() {
|
||||||
window.scrollTo(0, 0);
|
window.scrollTo(0, 0);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user