CoreFiles by mySites.guru
two-factor-focus.min.js4 lines, 1,096 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
bcc78dc0d53ec65e6aac896903a14356
sha1
1730925d4872231b0dfdc1c30097b0f5c471c897
sha256
eb5fd44f512bd66e04f39edc530f1a6e59e40e114bc57a3e69f45d2620b07c06
/**
 * @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",()=>{var l;const e=document.getElementById("users-mfa-code"),c=document.getElementById("users-mfa-captive-button-submit"),u=(l=document.getElementById("toolbar-user-mfa-submit"))==null?void 0:l.querySelector("button");e&&e.style.display!=="none"&&!e.classList.contains("visually-hidden")&&e.type!=="hidden"?e.focus():(c&&c.focus(),u&&u.focus()),document.querySelectorAll(".button-user-mfa-submit").forEach(t=>{t.addEventListener("click",o=>{o.preventDefault(),c.click()})}),document.querySelectorAll(".button-user-mfa-logout").forEach(t=>{t.addEventListener("click",o=>{o.preventDefault();const n=document.getElementById("users-mfa-captive-button-logout");n&&n.click()})}),document.querySelectorAll(".button-user-mfa-choose-another").forEach(t=>{t.addEventListener("click",o=>{o.preventDefault();const n=document.getElementById("users-mfa-captive-form-choose-another");n&&n.click()})})});

The same content is in 148 releases, Joomla 5.0.1-rc1 to 6.3.0-alpha1. See them all, or every version of this file.