Skip to content
Snippets Groups Projects
Commit 7ef0b23a authored by Arkerthan's avatar Arkerthan
Browse files

fix theme loading

parent c2b981b2
No related branches found
No related tags found
1 merge request!7434fix theme loading
...@@ -82,7 +82,7 @@ App.UI.Theme = (function() { ...@@ -82,7 +82,7 @@ App.UI.Theme = (function() {
theme.setAttribute("type", "text/css"); theme.setAttribute("type", "text/css");
theme.setAttribute("href", `./${filename}`); theme.setAttribute("href", `./${filename}`);
// make it unique to force reloading instead of using the cached version // make it unique to force reloading instead of using the cached version
devTheme.href += `?id=${Date.now()}`; theme.href += `?id=${Date.now()}`;
document.head.appendChild(theme); document.head.appendChild(theme);
return theme; return theme;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment