CoreFiles by mySites.guru
admin-help-es5.js18 lines, 478 bytes, from Joomla_4.2.8-Stable-Full_Package.zip
Raw History Compare with 4.2.7
md5
87a151d2b347b906a34de9129b3d79fb
sha1
c14cffe549e9442f28d2690573b3e604864c1057
sha256
7913259f86f6d847255ed12e1233e16f6b44aa0da809ee8fa54727ef31f47d22
(function () {
  'use strict';

  /**
    * @copyright   (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
    * @license     GNU General Public License version 2 or later; see LICENSE.txt
    */
  var helpIndex = document.getElementById('help-index');

  if (helpIndex) {
    [].slice.call(helpIndex.querySelectorAll('a')).map(function (element) {
      return element.addEventListener('click', function () {
        window.scroll(0, 0);
      });
    });
  }

})();

The same content is in 45 releases, Joomla 4.0.6-rc1 to 4.2.9. See them all, or every version of this file.