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

The same content is in 120 releases, Joomla 5.2.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.