CoreFiles by mySites.guru
passwordview.es6.min.js1 lines, 576 bytes, from Joomla_4.0.0-alpha10-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha9
md5
3598800bfcdc24c74d8511235b49f68f
sha1
4270d175550dd434d7fac5941093cac53ad70c2b
sha256
7bccc99be8481a00e4c6123a483f417576a1cbf64a78b6cce5ede744b37fc062
(a=>{'use strict';a.addEventListener("DOMContentLoaded",()=>{[].slice.call(a.querySelectorAll("input[type=\"password\"]")).forEach(a=>{const b=a.parentNode.querySelector(".input-group-prepend, .input-group-append");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.add("icon-eye"),c.classList.remove("icon-eye-close"),a.type="password",d.innerText=Joomla.JText._("JHIDE"))})})})})(document);

The same content is in 3 releases, Joomla 4.0.0-alpha8 to 4.0.0-alpha10. See them all, or every version of this file.