Skip to content

Commit

Permalink
Compile TS/LESS
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 28, 2024
1 parent 794cb1a commit dd34404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smiggins/templates/js/favicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ let _autoMM = matchMedia("(prefers-color-scheme: light)");
let themeObject;
let _autoColors;
if ("{{ THEME|escapejs }}" == "auto") {
document.getElementById("theme-css").innerHTML = getThemeAuto();
themeObject = null;
document.getElementById("theme-css").innerHTML = getThemeAuto();
autoInit();
}
else {
document.getElementById("theme-css").innerHTML = getThemeCSS(themeObject);
themeObject = JSON.parse('{{ theme_str|escapejs }}');
document.getElementById("theme-css").innerHTML = getThemeCSS(themeObject);
}
favicon.rel = "icon";
favicon.type = "image/png";
Expand Down

0 comments on commit dd34404

Please sign in to comment.