CoreFiles by mySites.guru
passwordview.min.js1 lines, 613 bytes, from Joomla_4.0.0-beta4-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta3
md5
615f230d7dfd22dd4b54694870fa1272
sha1
e24a9a1c70051c6918c80c165140cc5a2ab7a44b
sha256
b7c2a771ee7097e7a6fbab9027c95ef78ee1f261645a186e6b11228e47d6b0e8
(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("fa-eye"),c.classList.add("fa-eye-slash"),a.type="text",a.focus(),d.innerText=Joomla.Text._("JHIDEPASSWORD")):"text"===a.type&&(c.classList.add("fa-eye"),c.classList.remove("fa-eye-slash"),a.type="password",d.innerText=Joomla.Text._("JSHOWPASSWORD"))})})})})(document);

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