first commit
This commit is contained in:
11
wp-content/plugins/cf7-add-password-field/js/eye.js
Normal file
11
wp-content/plugins/cf7-add-password-field/js/eye.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function pushHideButton(id) {
|
||||
var txtPass = document.getElementById(id);
|
||||
var btnEye = document.getElementById("buttonEye-"+id);
|
||||
if (txtPass.type === "text") {
|
||||
txtPass.type = "password";
|
||||
btnEye.className = "fa fa-eye-slash";
|
||||
} else {
|
||||
txtPass.type = "text";
|
||||
btnEye.className = "fa fa-eye";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user