New-OMIS/public/assets/js/pages/password-addon.init.js

1 line
296 B
JavaScript
Raw Permalink Normal View History

2024-04-04 07:23:00 +00:00
Array.from(document.querySelectorAll("form .auth-pass-inputgroup")).forEach(function(e){Array.from(e.querySelectorAll(".password-addon")).forEach(function(r){r.addEventListener("click",function(r){var o=e.querySelector(".password-input");"password"===o.type?o.type="text":o.type="password"})})});