CoreFiles by mySites.guru
admin-help.js11 lines, 381 bytes, from Joomla_4.2.7-Stable-Full_Package.zip
Raw History Compare with 4.2.6
md5
1e1c8bcddcffb2c8a96f4753888f1ad4
sha1
ecba2e080df50ce39251636ca4e992238990a71d
sha256
5ff01e32f649c3f8ac958dbbe85b4e92f2a08d4abb8fec1e348c807ca73948a0
/**
  * @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) {
  [].slice.call(helpIndex.querySelectorAll('a')).map(element => element.addEventListener('click', () => {
    window.scroll(0, 0);
  }));
}

The same content is in 67 releases, Joomla 4.0.0-rc2 to 4.2.9. See them all, or every version of this file.