芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.2/com_banners/js/admin-banner-edit.min.js
(e=>{const t=t=>{const d=e.getElementById("image"),s=e.getElementById("custom");switch(t){case"0":d.classList.remove("hidden"),s.classList.add("hidden");break;case"1":d.classList.add("hidden"),s.classList.remove("hidden")}};e.addEventListener("DOMContentLoaded",(()=>{const d=e.getElementById("jform_type");d&&(t(d.value),d.addEventListener("change",(({target:e})=>{t(e.value)})))}))})(document);