CoreFiles by mySites.guru
passwordview.es6.min.js1 lines, 589 bytes, from Joomla_4.0.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta2
md5
5c47b2e65e804034ca6746314f17e9ab
sha1
fcbec35caa88da0e58225831e2ff67a8942dd194
sha256
d379ff8a542628575026138a2fc600eda62ee0030e864dc304faef29c1f02781
(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",()=>{const 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.