CoreFiles by mySites.guru
admin-help.js10 lines, 380 bytes, from Joomla_4.3.0-Stable-Full_Package.zip
Raw History Compare with 4.2.9
md5
8e916c79da7bd4d7c0f8e34cbc1f60ad
sha1
618db76524ee04c95d6c3552be21752c3716e782
sha256
e06e136e9ba691f1fb184e83d1c2ad8310af9fdeab223634e3f7e41e7365471f
/**
  * @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 79 releases, Joomla 4.3.0-alpha1 to 5.1.0-beta1. See them all, or every version of this file.