CoreFiles by mySites.guru
passwordview.es6.min.js1 lines, 597 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
94256acefb7bea649cb9c3cf343ff70e
sha1
837c59b7f142e4c356133bd14b625f9c8ba3ad95
sha256
4e19b50704227c8ec576f1470eff413c04c7ea60271ee65a651f6737760d9a3b
(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",b=>{const{target:c}=b,d=c.previousSibling;c.classList.contains("icon-eye")?(c.classList.remove("icon-eye"),c.classList.add("icon-eye-close"),a.type="text",d.innerText=Joomla.JText._("JSHOW")):c.classList.contains("icon-eye-close")&&(c.classList.add("icon-eye"),c.classList.remove("icon-eye-close"),a.type="password",d.innerText=Joomla.JText._("JHIDE"))})})})})(document);

The same content is in 2 releases, Joomla 4.0.0-alpha11 to 4.0.0-alpha12. See them all, or every version of this file.