Files
adlist_mikrotik/static/js/error.js
T
2025-08-29 22:08:11 +02:00

10 lines
264 B
JavaScript

(function () {
const t = localStorage.getItem('theme') || 'dark';
document.documentElement.setAttribute('data-theme', t);
document.querySelector('[data-action="try-again"]')?.addEventListener('click', () => {
location.reload();
});
})();