CoreFiles by mySites.guru
passwordview.es6.min.js1 lines, 965 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
2c62da3a060f32786fc072f2798f718a
sha1
2b6ca8825c4a6c5f7ffea7fed4b9c1837fb17403
sha256
2ca4f49abd08f8596aee4ff63d67d43761831c7fceadd134a18c482714401162
(a=>{'use strict';a.addEventListener("DOMContentLoaded",()=>{[].slice.call(a.querySelectorAll("input[type=\"password\"]")).forEach(a=>{const b=a.parentNode.querySelector(".input-password-toggle");b&&b.addEventListener("click",()=>{const c=b.firstElementChild,d=b.lastElementChild;"password"===a.type?(c.classList.remove("icon-eye"),c.classList.add("icon-eye-slash"),a.type="text",a.focus(),d.innerText=Joomla.Text._("JHIDEPASSWORD")):"text"===a.type&&(c.classList.add("icon-eye"),c.classList.remove("icon-eye-slash"),a.type="password",a.focus(),d.innerText=Joomla.Text._("JSHOWPASSWORD"))});const c=a.parentNode.querySelector(".input-password-modify");c&&c.addEventListener("click",()=>{const b=!c.classList.contains("locked");!0==b?(c.classList.add("locked"),a.value="",a.setAttribute("disabled",""),c.innerText=Joomla.Text._("JMODIFY")):(c.classList.remove("locked"),a.removeAttribute("disabled"),a.focus(),c.innerText=Joomla.Text._("JCANCEL"))})})})})(document);

No other release has this exact content. See every version of this file.