CoreFiles by mySites.guru
two-factor-list-es5.js21 lines, 655 bytes, from Joomla_4.4.2-Stable-Full_Package.zip
Raw History Compare with 4.4.1
md5
829ac94fc889a80f48f2c57641f08c94
sha1
53bc44c30e54aa89384678245c2842f04bac7f50
sha256
041d89273893ade7d60b8c04fb1c92551da8d283171902e4645b7b810e54b327
(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 57 releases, Joomla 4.3.0-alpha1 to 5.0.0-alpha1. See them all, or every version of this file.