Refactor Privacy to Overview, code cleanup

This commit is contained in:
Daniel
2023-10-30 11:08:22 +01:00
parent f18bc24c1c
commit 3aa0ac4ebc
23 changed files with 180 additions and 215 deletions
+2 -2
View File
@@ -9,12 +9,12 @@ export default class Main {
init() {
document.title = this.config.get("name")
document.getElementById("favicon").href = this.config.get("icon")
document.querySelector("#favicon").href = this.config.get("icon")
this.initBackgrounds()
}
initBackgrounds() {
this.backgrounds = document.getElementById("background")
this.backgrounds = document.querySelector("#background")
for (let i = 0; i < 2; i++) {
let img = document.createElement("img")
img.classList.add("notloaded")