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

9 lines
229 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-27 10:29:49 -07:00
}
function closePopup(e) {
e.parentElement.outerHTML = "";
2020-06-22 21:48:42 -05:00
}