thedesk/js/ui/theme.js
2018-01-28 21:22:43 +09:00

13 lines
231 B
JavaScript

//テーマ適用
function themes(theme) {
if (!theme) {
var theme = localStorage.getItem("theme");
}
if (theme == "black") {
$("html").addClass("blacktheme");
} else {
$("html").removeClass("blacktheme");
}
}
themes();