Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
theolaa committed Jul 30, 2021
1 parent 7b1eb2c commit a8d14b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cgi/bmi_calculator.pl
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@
function(message) {
console.log("Email Status: " + message);
if (message == "OK") {
document.getElementById("emailbtn").innerHTML += "Email sent - check your junk folder!";
document.getElementById("emailbtn").innerHTML = "Email sent - check your junk folder!";
} else {
document.getElementById("emailbtn").innerHTML += "<br/><br/>" + message;
document.getElementById("emailbtn").innerHTML = "<br/><br/>" + message;
}
}
);
Expand Down

0 comments on commit a8d14b3

Please sign in to comment.