Skip to content

Commit

Permalink
Merge pull request #91 from umass-cicsoft/info/board-members
Browse files Browse the repository at this point in the history
Fixed minor bug
  • Loading branch information
Shiven110504 authored Aug 6, 2024
2 parents 4f625f5 + 93b9b67 commit 9240650
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ $("#applyForm").submit((event) => {
})
applyFormData["github_link"] = `https://github.com/${$("#applyGitHub").val()}`;
applyFormData["linkedin_link"] = `https://linkedin.com/in/${$("#applyLinkedIn").val()}`;
applyFormData["interest_response"] = $("#applyQuestion").val();
applyFormData["referral_response"] = $("[name='applyReferral']:checked").val();
// applyFormData["interest_response"] = $("#applyQuestion").val();
// applyFormData["referral_response"] = $("[name='applyReferral']:checked").val();

let requestHeaders = new Headers();
requestHeaders.append("Content-Type", "application/json");
Expand All @@ -120,7 +120,7 @@ $("#applyForm").submit((event) => {
$("#applyForm").trigger("reset");
} else {
$("#registerToast").addClass("bg-danger");
$("#registerToastText").text("Something went wrong! Try again later.");
$("#registerToastText").text(`Something went wrong! ${result["message"]} Try again later.`);
}
$("#registerToast").toast("show");
})
Expand Down

0 comments on commit 9240650

Please sign in to comment.