Files
Modrinth-plus/static/js/main.js

5 lines
168 B
JavaScript
Raw Normal View History

2020-06-22 21:04:17 -07:00
window.onload = function () {
2020-06-25 22:40:29 -07:00
if (localStorage.getItem("data-theme")) {
document.documentElement.setAttribute("data-theme", localStorage.getItem("data-theme"));
2020-06-22 21:04:17 -07:00
}
2020-06-22 21:48:42 -05:00
}