CoreFiles by mySites.guru
inlinehelp.min.js1 lines, 647 bytes, from Joomla_4.2.1-Stable-Full_Package.zip
Raw History Compare with 4.2.0
md5
80d6ca23511a67cdbbe056b122e1b2bc
sha1
5e36e075be67c21b2439cfa452060ad3090af052
sha256
df65c361eb19b13548bb4f85ff88d36fb0d31703e675fb88e80f347955b1c3ee
Joomla.toggleInlineHelp=e=>{[].slice.call(document.querySelectorAll(`div.${e}`)).forEach((e=>{e.classList.toggle("d-none");const l=e.id,t=l?l.substr(0,l.length-5):null,n=t?document.getElementById(t):null,s=e.classList.contains("d-none");t&&n&&(s&&n.hasAttribute("aria-describedby")?n.removeAttribute("aria-describedby"):s||n.setAttribute("aria-describedby",l))}))},[].slice.call(document.querySelectorAll(".button-inlinehelp")).forEach((e=>{const l=e.dataset.class??"hide-aware-inline-help";0!==document.getElementsByClassName(l).length?e.addEventListener("click",(e=>{e.preventDefault(),Joomla.toggleInlineHelp(l)})):e.classList.add("d-none")}));

The same content is in 52 releases, Joomla 4.1.5-rc1 to 5.0.0-alpha1. See them all, or every version of this file.