0
0
Fork 0

Make theme switching work properly when built for production

This commit is contained in:
Oliver-Akins 2021-04-01 01:03:21 -06:00
parent d3e562b267
commit 0bcfa05b6c
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@ export default {
watch: {
chosen_theme(val) {
localStorage.setItem(`tl-theme`, val);
document.getElementById(`theme`).href = `/static/css/theme/${val}.css`;
document.getElementById(`theme`).href = `static/css/theme/${val}.css`;
}
},
beforeDestroy() {