CoreFiles by mySites.guru
categories-default.es6.min.js1 lines, 660 bytes, from Joomla_4.0.0-alpha10-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha9
md5
9f44f129d6d90a7e4bf0257d2a3e64dd
sha1
11270b1c6e4daacc9bda9d96169cda3d9b91ba75
sha256
c2a29538666b73bae53ed73ef474fdc33ca5520dd9f97f9297a522b8621cd4cd
(a=>{'use strict';if(!a||"function"!=typeof a.JText)throw new Error("core.js was not properly initialised");const b=b=>{const c=b.currentTarget,d=c.querySelector("span");d.classList.toggle("icon-plus"),d.classList.toggle("icon-minus");const e=c.getAttribute("aria-label");c.setAttribute("aria-label",e===a.JText._("JGLOBAL_EXPAND_CATEGORIES")?a.JText._("JGLOBAL_COLLAPSE_CATEGORIES"):a.JText._("JGLOBAL_EXPAND_CATEGORIES"))},c=()=>{const a=[].slice.call(document.querySelectorAll("[id^=category-btn-]"));a.forEach(a=>{a.addEventListener("click",b)}),document.removeEventListener("DOMContentLoaded",c)};document.addEventListener("DOMContentLoaded",c)})(Joomla);

The same content is in 5 releases, Joomla 4.0.0-alpha8 to 4.0.0-alpha12. See them all, or every version of this file.