芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/tixpeual2124.gob.mx/media/com_categories/js/shared-categories-accordion-es5.min.js
!function(){"use strict";if(!Joomla||!Joomla.Text)throw new Error("core.js was not properly initialised");var t=function(t){var e=t.currentTarget,a=e.querySelector("span");a.classList.toggle("icon-plus"),a.classList.toggle("icon-minus");var r=e.getAttribute("aria-label"),o=e.getAttribute("aria-expanded");e.setAttribute("aria-label",r===Joomla.Text._("JGLOBAL_EXPAND_CATEGORIES")?Joomla.Text._("JGLOBAL_COLLAPSE_CATEGORIES"):Joomla.Text._("JGLOBAL_EXPAND_CATEGORIES")),e.setAttribute("aria-expanded","false"===o?"true":"false");var i=e.dataset.categoryId;document.getElementById("category-"+i).toggleAttribute("hidden")};Array.from(document.querySelectorAll("[id^=category-btn-]")).forEach((function(e){e.addEventListener("click",t)}))}();