芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.9/com_users/js/two-factor-switcher.min.js
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);