CoreFiles by mySites.guru
inlinehelp.min.js4 lines, 815 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
3dacadf8338638a3ac17a5579b698dc1
sha1
22a94d043cdb5c0f063df11470e28769bda59cf8
sha256
1fb56adcec34f48086e4cd81e5fb1622c2b9df7bd3736aa6c44a0e946775455b
/**
 * @copyright  (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */Joomla.toggleInlineHelp=t=>{[].slice.call(document.querySelectorAll(`div.${t}`)).forEach(e=>{e.classList.toggle("d-none");const l=e.id,n=l?l.substr(0,l.length-5):null,s=n?document.getElementById(n):null,o=e.classList.contains("d-none");!n||!s||(o&&s.hasAttribute("aria-describedby")?s.removeAttribute("aria-describedby"):o||s.setAttribute("aria-describedby",l))})},[].slice.call(document.querySelectorAll(".button-inlinehelp")).forEach(t=>{const e=t.dataset.class??"hide-aware-inline-help";if(document.getElementsByClassName(e).length===0){t.classList.add("d-none");return}t.addEventListener("click",n=>{n.preventDefault(),Joomla.toggleInlineHelp(e)})});

The same content is in 28 releases, Joomla 4.4.1-rc1 to 4.4.14. See them all, or every version of this file.