Skip to content

Commit

Permalink
[BUGFIX] solved missing background images
Browse files Browse the repository at this point in the history
  • Loading branch information
laaledesiempre committed Mar 9, 2024
1 parent fc012a8 commit aae5ccf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
<!-- When hosting on an actual web server the CSP should be more restrictive. (hash for script-src) -->

<link rel="preload" href="style.css" integrity="sha256-EKoGpTmF1bLrWpKFOUphVpXP96W45f+F9oXfETYQc+s=" as="style">
<link rel="preload" href="dist/pesterchum.js" integrity="sha256-nAENv+wCwiwBsRYnPHtp9Ae65guHCcMV0x5S9uQr6kg=" as="script"> <!-- integrity hash with babel :3 -->
<link rel="preload" href="dist/pesterchum.js" integrity="sha256-99zYUvyLChILKNGDQ3IAvF842VYkSKUhNGh7T2azLTw=" as="script"> <!-- integrity hash with babel :3 -->

<link rel="icon" href="favicon.ico">
<link rel="canonical" href="https://pesterchum.online">
<link rel="stylesheet" integrity="sha256-EKoGpTmF1bLrWpKFOUphVpXP96W45f+F9oXfETYQc+s=" href="style.css">
<script src="dist/pesterchum.js" integrity="sha256-nAENv+wCwiwBsRYnPHtp9Ae65guHCcMV0x5S9uQr6kg=" defer></script>
<script src="dist/pesterchum.js" integrity="sha256-99zYUvyLChILKNGDQ3IAvF842VYkSKUhNGh7T2azLTw=" defer></script>

<title>Pesterchum Online</title>
</head>
Expand Down
4 changes: 2 additions & 2 deletions src/pesterchum.js
Original file line number Diff line number Diff line change
Expand Up @@ -1831,10 +1831,10 @@ class Theme {
const theme = this.loadedThemes.themes[x]
Theme.new(theme.colors)
}
const current = Theme.instances.find(e => e.colors.name === Theme.loadedThemes.currentTheme)
current.changeTheme()
Theme.buildList()
}
const current = Theme.instances.find(e => e.colors.name === Theme.loadedThemes.currentTheme)
current.changeTheme()
}

/**
Expand Down

0 comments on commit aae5ccf

Please sign in to comment.