CoreFiles by mySites.guru
inlinehelp.min.js1 lines, 602 bytes, from Joomla_4.1.2-Stable-Full_Package.zip
Raw History Compare with 4.1.1
md5
dc5020d5cae385800ffc893a80f4b851
sha1
d66275c9eb4722bbd20a66ac257db5df81bf3d84
sha256
af587cf77270193cc0e28530b362f411f27e277ae1fb2d93f34b43dd225b8031
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,i=e.classList.contains("d-none");t&&n&&(i&&n.hasAttribute("aria-describedby")?n.removeAttribute("aria-describedby"):i||n.setAttribute("aria-describedby",l))}))},[].slice.call(document.querySelectorAll(".button-inlinehelp")).forEach((e=>{const l=e.dataset.class??"hide-aware-inline-help";Joomla.toggleInlineHelp(l),e.addEventListener("click",(e=>{e.preventDefault(),Joomla.toggleInlineHelp(l)}))}));

The same content is in 15 releases, Joomla 4.1.0-alpha3 to 4.2.0-alpha2. See them all, or every version of this file.