CoreFiles by mySites.guru
two-factor-switcher.min.js1 lines, 458 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
7b9ba3295c0d923096716fb5820793c5
sha1
829f461d24cbeee7c3f0bd47bf458ad3d128d3cf
sha256
3e09f4d86436f475c3b37d2842baf35377deb6f832cca792b27bf4d7a1a5cf2f
Joomla=window.Joomla||{},(o=>{document.addEventListener("DOMContentLoaded",(()=>{o.twoFactorMethodChange=()=>{const o=document.getElementById("jform_twofactor_method");if(o){const e=`com_users_twofactor_${o.value}`;[].slice.call(document.querySelectorAll("#com_users_twofactor_forms_container > div")).forEach((o=>{const{id:t}=o;t!==e?document.getElementById(t).classList.add("hidden"):document.getElementById(t).classList.remove("hidden")}))}}}))})(Joomla);

The same content is in 47 releases, Joomla 4.0.0-rc1 to 4.2.0-alpha3. See them all, or every version of this file.