mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 23:17:02 +03:00
Resolve #553
This commit is contained in:
parent
187dfcd126
commit
0f3d8e66df
2 changed files with 5 additions and 3 deletions
|
|
@ -111,7 +111,9 @@
|
|||
onBuild(dom) {
|
||||
let input = dom.querySelector('.new-password'),
|
||||
meter = dom.querySelector('.new-password-meter');
|
||||
input && meter && input.addEventListener('input',() => meter.value = getPassStrength(input.value));
|
||||
if (input && meter) {
|
||||
this.newPassword.subscribe(value => meter.value = getPassStrength(value));
|
||||
}
|
||||
}
|
||||
|
||||
onHide() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue