CoreFiles by mySites.guru
passwordview-es5.min.js4 lines, 1,169 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
1749673988b4dca91198af557bacb46b
sha1
e62b98d5e47ca5e472db445cbbb78cee9fa64a61
sha256
b322ab71a8cb3ffc9c2c84e6383adc1a9f003255c182fd9ad94607f7a27cab9c
(function(){"use strict";/**
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */(function(a){a.addEventListener("DOMContentLoaded",function(){[].slice.call(a.querySelectorAll('input[type="password"]')).forEach(function(e){var o=e.parentNode.querySelector(".input-password-toggle");o&&o.addEventListener("click",function(){var s=o.firstElementChild,l=o.lastElementChild;e.type==="password"?(s.classList.remove("icon-eye"),s.classList.add("icon-eye-slash"),e.type="text",e.focus(),l.innerText=Joomla.Text._("JHIDEPASSWORD")):e.type==="text"&&(s.classList.add("icon-eye"),s.classList.remove("icon-eye-slash"),e.type="password",e.focus(),l.innerText=Joomla.Text._("JSHOWPASSWORD"))});var t=e.parentNode.querySelector(".input-password-modify");t&&t.addEventListener("click",function(){var s=!t.classList.contains("locked");s===!0?(t.classList.add("locked"),e.value="",e.setAttribute("disabled",""),t.innerText=Joomla.Text._("JMODIFY")):(t.classList.remove("locked"),e.removeAttribute("disabled"),e.focus(),t.innerText=Joomla.Text._("JCANCEL"))})})})})(document)})();

The same content is in 28 releases, Joomla 4.4.1-rc1 to 4.4.14. See them all, or every version of this file.