fix: use proper html tag

This commit is contained in:
2023-08-05 15:11:04 +02:00
parent cdf3849322
commit 0525100bc6
10 changed files with 19 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ const theme_switcher = document.getElementById("theme-switcher");
const imgs = document.getElementsByTagName("img");
const sections_button = document.getElementById("sections-button");
const sections_menu = document.getElementById("sections-menu");
const main = document.getElementById("main");
const main = document.getElementsByTagName("main")[0];
let theme = window.localStorage.getItem("theme");