CoreFiles by mySites.guru
passwordview.min.js1 lines, 621 bytes, from Joomla_4.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta
md5
f55a6b5aa1e67c7f5c1d356c4ea8ef1e
sha1
3378c9a9e28639d62b383ea58b3a81260d11dde9
sha256
f50e3a1dcfa335144c6ffb9bdc0c8fe262a72aa2a39da8e384c6f5c220fd3c11
(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(){var c=b.firstElementChild,d=b.lastElementChild;"password"===a.type?(c.classList.remove("icon-eye"),c.classList.add("icon-eye-close"),a.type="text",a.focus(),d.innerText=Joomla.Text._("JHIDEPASSWORD")):"text"===a.type&&(c.classList.add("icon-eye"),c.classList.remove("icon-eye-close"),a.type="password",d.innerText=Joomla.Text._("JSHOWPASSWORD"))})})})})(document);

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