website/public/js/lang.js
2023-09-05 14:15:29 +02:00

1 line
No EOL
230 B
JavaScript

function switchLang(n){document.getElementById("switch-lang-panel").classList.toggle("hidden")}document.addEventListener("DOMContentLoaded",function(){document.getElementById("switch-lang")?.addEventListener("click",switchLang)});