Skip to content

Commit

Permalink
put footer layout after dom content loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Jan 11, 2025
1 parent e0e4de5 commit 4ac2eb0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -1453,5 +1453,9 @@ const footerContent = `
`;

function insertFooterLayout() {
document.getElementById('footer-layout').innerHTML = footerContent;
document.addEventListener('DOMContentLoaded', function() {
document.getElementById('footer-layout').innerHTML = footerContent;
});
}


0 comments on commit 4ac2eb0

Please sign in to comment.