CoreFiles by mySites.guru
two-factor-list-es5.js20 lines, 654 bytes, from Joomla_4.2.3-Stable-Full_Package.zip
Raw History Compare with 4.2.2
md5
286657b22b3ba316da311d95e13e432e
sha1
44828d6cd25b3fda95e17dd573596ec9aab88839
sha256
0abf884595177aa1f5071c86469841f3908d689e6a9cff7d01e9dc8416067168
(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 (Joomla, window) {
    document.addEventListener('DOMContentLoaded', function () {
      [].slice.call(document.querySelectorAll('.com-users-methods-list-method-record-delete')).forEach(function (el) {
        el.addEventListener('click', function (event) {
          if (!window.confirm(Joomla.Text._('JGLOBAL_CONFIRM_DELETE'))) {
            event.preventDefault();
          }
        });
      });
    });
  })(Joomla, window);

})();

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