| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home4/cozeellc/public_html/wp-content/plugins/meta-box/js/ |
Upload File : |
document.addEventListener( 'DOMContentLoaded', function () {
const toggleButtons = document.querySelectorAll( '.rwmb-password-toggle' );
toggleButtons.forEach( button => {
const eyeIcon = button.querySelector( '.rwmb-eye-icon' );
const eyeOffIcon = button.querySelector( '.rwmb-eye-off-icon' );
const input = button.previousElementSibling;
button.addEventListener( 'click', () => {
if ( input.type === 'password' ) {
input.type = 'text';
eyeIcon.style.display = 'none';
eyeOffIcon.style.display = 'block';
} else {
input.type = 'password';
eyeIcon.style.display = 'block';
eyeOffIcon.style.display = 'none';
}
} );
} );
} );