focus password field when clicking password checkbox
This commit is contained in:
parent
046f227003
commit
a5d28adc44
@ -27,6 +27,9 @@ module.exports = function(state, emit) {
|
||||
.getElementById('copy')
|
||||
.classList.toggle('wait-password', e.target.checked);
|
||||
document.getElementById('copy-btn').disabled = e.target.checked;
|
||||
if (e.target.checked) {
|
||||
document.getElementById('unlock-input').focus();
|
||||
}
|
||||
}
|
||||
|
||||
function setPassword(event) {
|
||||
|
Loading…
Reference in New Issue
Block a user