CoreFiles by mySites.guru
admin-help.js9 lines, 359 bytes, from Joomla_5.3.3-Stable-Full_Package.zip
Raw History Compare with 5.3.2
md5
2aa861da3a47c6ed0d59e801d4e27f46
sha1
73c5ea85db9ce12b16cb74e64a4cc6b1c6d155a2
sha256
7f6e1e4d94a1b70709c85d2b54b862cd20d85fbb340f83f74a02c850dd38d5d4
/**
  * @copyright   (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  */

const helpIndex = document.getElementById('help-index');
if (helpIndex) {
  helpIndex.querySelectorAll('a').forEach(element => element.addEventListener('click', () => window.scroll(0, 0)));
}

The same content is in 122 releases, Joomla 5.1.0-beta2 to 6.1.4. See them all, or every version of this file.