Skip to content

Commit

Permalink
Update JS file from Jelix about password editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Nov 28, 2023
1 parent 2dab2b5 commit 93aedf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap/www/assets/jelix/js/jforms/password-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var JelixPasswordEditor = {
}

buttonRegen.addEventListener('click', function () {
inputEl.value = JelixPasswordEditor.generatePassword(minlength, Math.min(maxlength, 30));
inputEl.setAttribute('value', JelixPasswordEditor.generatePassword(minlength, Math.min(maxlength, 30)));
launchTimerListener();
});
buttonToggleVisibility.addEventListener('click', function () {
Expand Down

0 comments on commit 93aedf9

Please sign in to comment.