minor fix for togglePasswordInput
This commit is contained in:
parent
a32638ed4c
commit
fdafc1c59e
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue