CoreFiles by mySites.guru
inlinehelp.min.js1 lines, 664 bytes, from Joomla_5.0.0-Stable-Full_Package.zip
Raw History Compare with 4.4.14
md5
8442efad51c28e3954e109658148895a
sha1
a943b93e6a00e86b1613f5f1f4ffaecd9949e1ca
sha256
b8e8f267c5f37441c7f2aa19009ea43616700c91d0b0f23b6f0e3819bc5562da
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,a=e.classList.contains("d-none");t&&n&&(a&&n.hasAttribute("aria-describedby")?n.removeAttribute("aria-describedby"):a||n.setAttribute("aria-describedby",l))}))},[].slice.call(document.querySelectorAll(".button-inlinehelp")).forEach((e=>{var l;const t=null!=(l=e.dataset.class)?l:"hide-aware-inline-help";0!==document.getElementsByClassName(t).length?e.addEventListener("click",(e=>{e.preventDefault(),Joomla.toggleInlineHelp(t)})):e.classList.add("d-none")}));

The same content is in 9 releases, Joomla 5.0.0-alpha2 to 5.0.0. See them all, or every version of this file.