Skip to content

Commit

Permalink
Correct feeback direct response
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Feb 8, 2024
1 parent 37eb2b2 commit 14d1ef1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pages/content/direct_feedback.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ function betaFeedback() {
}).fail(function (data) {
alert('Error during HTTP request!');
}).done(function (data) {
alert(data.msg);
if (!data.success) {
alert(data.msg);
} else {
alert("Beta feedback sent! Thank you!");
}
}).always(function () {
$('#ab_beta_feedback').html('');
$('#ab_beta_feedback').val('');
});
}
</script>

0 comments on commit 14d1ef1

Please sign in to comment.