From 4ac2eb0c190f7ef2c3d15fc38f201a22007c2e5d Mon Sep 17 00:00:00 2001 From: Birm Date: Fri, 10 Jan 2025 23:58:59 -0500 Subject: [PATCH] put footer layout after dom content loaded --- common/util.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/util.js b/common/util.js index 6ce662ebb..d22482bd5 100644 --- a/common/util.js +++ b/common/util.js @@ -1453,5 +1453,9 @@ const footerContent = ` `; function insertFooterLayout() { - document.getElementById('footer-layout').innerHTML = footerContent; + document.addEventListener('DOMContentLoaded', function() { + document.getElementById('footer-layout').innerHTML = footerContent; + }); } + +