You've already forked AstralRinth
forked from didirus/AstralRinth
Base creation page
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
if (localStorage.getItem("theme")) {
|
||||
document.documentElement.setAttribute("data-theme", localStorage.getItem("theme"));
|
||||
window.onload = function () {
|
||||
if (localStorage.getItem("theme")) {
|
||||
document.documentElement.setAttribute("theme", localStorage.getItem("theme"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user