thread.html main.js: use ids to identify hud top and bottom bars

This commit is contained in:
Zankaria 2024-04-15 23:24:54 +02:00
parent 8fcad42ba2
commit 9799d7e515
2 changed files with 3 additions and 3 deletions

View file

@ -227,7 +227,7 @@ function init_stylechooser() {
newElement.appendChild(style);
}
document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild.nextSibling);
document.getElementById('bottom-hud').before(newElement);
}
function get_cookie(cookie_name) {