mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
minor fix for togglePasswordInput
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user