fix error

main
Florent Daigniere 2 years ago
parent cf6da1492e
commit c91c9df134

@ -132,9 +132,7 @@ $('document').ready(function() {
}); });
$("#pw").closest("form").submit(function(event){ $("#pw").closest("form").submit(function(event){
if (parseInt($("#pwned").val()) < 0) { if (parseInt($("#pwned").val()) < 0) {
event.preventDefault();
hibpCheck($("#pw").val()); hibpCheck($("#pw").val());
event.trigger();
} }
}); });
} }

Loading…
Cancel
Save