Skip to content

Commit

Permalink
update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
justwaitfor-me committed Feb 26, 2024
1 parent 7bb1c04 commit 0deabd4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web/soon.personalitylib.com/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,14 @@ jQuery(document).ready(function($) {

if(json.valid === 0) {

$('.subscribe-form').addClass("form-error");

} else {

$('.subscribe-form').addClass("form-success");
$('.subscribe-form input,.subscribe-form button').val('').prop('disabled', true);

} else {

$('.subscribe-form').addClass("form-error");

}

}
Expand Down

0 comments on commit 0deabd4

Please sign in to comment.