Files
adlist_mikrotik/static/js/error.js
Mateusz Gruszczyński 7b6dd96d68 poprawki
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();
});
})();