You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
462 B
JavaScript
1 line
462 B
JavaScript
!function(){function t(){return window.matchMedia(e).matches}var e=getComputedStyle(document.body).getPropertyValue("--phoneWidth"),n=document.querySelector(".language-selector-current"),o=document.querySelector(".language-selector__more");document.body.addEventListener("click",function(){t()||!o||o.classList.contains("hidden")||o.classList.add("hidden")}),n&&n.addEventListener("click",function(e){t()||(e.stopPropagation(),o.classList.toggle("hidden"))})}(); |