CoreFiles by mySites.guru
passwordview.min.js1 lines, 622 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
d6c2c9c2caf1277b7113fcdf2b673a1e
sha1
4659e3f2b867428c90d3d33a71316fca87aa5cc5
sha256
9022c4371be8b02000bf799ff8985684fb36103949e35af92fe09c3dc00e4800
(function(a){'use strict';a.addEventListener("DOMContentLoaded",function(){[].slice.call(a.querySelectorAll("input[type=\"password\"]")).forEach(function(a){var b=a.parentNode.querySelector(".input-password-toggle");b&&b.addEventListener("click",function(b){var c=b.target,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.