We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe0c567 commit ae5e3b7Copy full SHA for ae5e3b7
app/templates/macros/check_password.html
@@ -3,6 +3,9 @@
3
<script>
4
$('#submit').attr('disabled', true);
5
$('#{{ field }}').after('<progress value="0" max="4" id="password-strength-meter"></progress><p id="password-strength-text"></p>');
6
+ if(!$('#{{ field }}').length) {
7
+ $('#submit').attr('disabled', false);
8
+ }
9
var strength = {
10
0: "Bad",
11
1: "Okay",
0 commit comments