CoreFiles by mySites.guru
articles-status.js15 lines, 457 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
bc7a5de164e247a962a4b79681b16393
sha1
3879f0d29851fb58e800d46bd6e19994d51c940b
sha256
d5b994021a4eb49e23e564da90533ac4a978f0f64b9a7a903600a5ee3ac75134
/**
 * @copyright  (C) 2022 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */
(() => {

  document.addEventListener('DOMContentLoaded', () => {
    const elements = [].slice.call(document.querySelectorAll('.article-status'));
    elements.forEach(element => {
      element.addEventListener('click', event => {
        event.stopPropagation();
      });
    });
  });
})();

The same content is in 13 releases, Joomla 4.2.2 to 4.2.9. See them all, or every version of this file.