CoreFiles by mySites.guru
inlinehelp.min.js4 lines, 835 bytes, from Joomla_5.1.4-Stable-Full_Package.zip
Raw History Compare with 5.1.3
md5
ee0686d294ad114564c7fc76f8d6cc33
sha1
293fc9605832dbaec0feb04d30fae64a05c5ecf6
sha256
44cf396321c49429c7611ef271bc6138fba16cd9c8b002b114e57aa169f7b4aa
/**
 * @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=n=>{[].slice.call(document.querySelectorAll(`div.${n}`)).forEach(t=>{t.classList.toggle("d-none");const e=t.id,s=e?e.substring(0,e.length-5):null,l=s?document.getElementById(s):null,o=t.classList.contains("d-none");!s||!l||(o&&l.hasAttribute("aria-describedby")?l.removeAttribute("aria-describedby"):o||l.setAttribute("aria-describedby",e))})},[].slice.call(document.querySelectorAll(".button-inlinehelp")).forEach(n=>{var t;const e=(t=n.dataset.class)!=null?t:"hide-aware-inline-help";if(document.getElementsByClassName(e).length===0){n.classList.add("d-none");return}n.addEventListener("click",l=>{l.preventDefault(),Joomla.toggleInlineHelp(e)})});

The same content is in 16 releases, Joomla 5.1.0-beta1 to 5.1.4. See them all, or every version of this file.