blow/static/js/lang.js

1 line
244 B
JavaScript
Raw Normal View History

2021-11-14 13:57:11 +01:00
function switchLang(n){console.log(n),document.getElementById("switch-lang-panel").classList.toggle("hidden")}document.addEventListener("DOMContentLoaded",function(){document.getElementById("switch-lang").addEventListener("click",switchLang)});