WebHost: Remove styleController.js and replace functionality with HTML/CSS. (#4852)

* ensure footer stays at bottom of page without JS

* Remove some other usages.
This commit is contained in:
Zach 'Phar' Parks
2025-04-08 23:46:46 -05:00
committed by GitHub
parent f2cb16a5be
commit 0f7deb1d2a
13 changed files with 30 additions and 73 deletions

View File

@@ -23,7 +23,6 @@ window.addEventListener('load', () => {
showdown.setOption('strikethrough', true);
showdown.setOption('literalMidWordUnderscores', true);
gameInfo.innerHTML += (new showdown.Converter()).makeHtml(results);
adjustHeaderWidth();
// Reset the id of all header divs to something nicer
for (const header of document.querySelectorAll('h1, h2, h3, h4, h5, h6')) {