minor fix for togglePasswordInput
This commit is contained in:
parent
a32638ed4c
commit
fdafc1c59e
@ -24,7 +24,9 @@ module.exports = function(state, emit) {
|
||||
function togglePasswordInput(e) {
|
||||
const unlockInput = document.getElementById('unlock-input');
|
||||
const boxChecked = e.target.checked;
|
||||
document.querySelector('.setPassword').classList.toggle('hidden');
|
||||
document
|
||||
.querySelector('.setPassword')
|
||||
.classList.toggle('hidden', !boxChecked);
|
||||
document
|
||||
.getElementById('copy')
|
||||
.classList.toggle('wait-password', boxChecked);
|
||||
|
Loading…
Reference in New Issue
Block a user