CoreFiles by mySites.guru
articles-status-es5.js19 lines, 549 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
a8a6555e5327f298a1463f2cfa5c5846
sha1
b38a768e766f596cba19781a42dd6939580d3a89
sha256
7ce554fc7a1e4b86a6e348220c9fc881078eb24de982d47f7630955794c33513
(function () {
  'use strict';

  /**
   * @copyright  (C) 2022 Open Source Matters, Inc. <https://www.joomla.org>
   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   */
  (function () {
    document.addEventListener('DOMContentLoaded', function () {
      var elements = [].slice.call(document.querySelectorAll('.article-status'));
      elements.forEach(function (element) {
        element.addEventListener('click', function (event) {
          event.stopPropagation();
        });
      });
    });
  })();

})();

The same content is in 19 releases, Joomla 4.2.0-beta3 to 4.2.9. See them all, or every version of this file.