CoreFiles by mySites.guru
passwordview.min.js1 lines, 991 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
b7159b152779a111506e8c036f218ae9
sha1
e8b188ad683711707224b7aaff334c1a5cd9814f
sha256
502c269c154588908d862949f4b06fb9cd27a76b8e90fcdbb8624f80d249e591
(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-slash"),a.type="text",a.focus(),d.innerText=Joomla.Text._("JHIDEPASSWORD")):"text"===a.type&&(c.classList.add("icon-eye"),c.classList.remove("icon-eye-slash"),a.type="password",a.focus(),d.innerText=Joomla.Text._("JSHOWPASSWORD"))});var c=a.parentNode.querySelector(".input-password-modify");c&&c.addEventListener("click",function(){var b=!c.classList.contains("locked");!0==b?(c.classList.add("locked"),a.value="",a.setAttribute("disabled",""),c.innerText=Joomla.Text._("JMODIFY")):(c.classList.remove("locked"),a.removeAttribute("disabled"),a.focus(),c.innerText=Joomla.Text._("JCANCEL"))})})})})(document);

No other release has this exact content. See every version of this file.