From c7ef2c09fe305a1338ce8c8fc6c023474c00b8ca Mon Sep 17 00:00:00 2001 From: sghsri Date: Sat, 8 Sep 2018 20:48:29 -0500 Subject: [PATCH] updated register button text --- js/calendar.js | 2 +- js/popup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/calendar.js b/js/calendar.js index f91cb8d7..ce1e3f75 100644 --- a/js/calendar.js +++ b/js/calendar.js @@ -66,7 +66,7 @@ $(function () { let status = savedCourses[currindex].status; if (status.includes("closed") || status.includes("cancelled") || !status) { - $("#register").text("Cannot Register").css("background-color", "#FF5722"); + $("#register").text("Can't Register").css("background-color", "#FF5722"); } else if (status.includes("waitlisted")) { $("#register").text("Join Waitlist").css("background-color", "#FF9800"); } else { diff --git a/js/popup.js b/js/popup.js index 4af61a4a..89eb42d1 100644 --- a/js/popup.js +++ b/js/popup.js @@ -91,7 +91,7 @@ $(document).ready(function () { let status = courses[$(this).closest("li").attr("id")].status; if (status.includes("closed") || status.includes("cancelled")|| !status) { - $(this).find("#register").text("Cannot Register").css("background-color","#FF5722"); + $(this).find("#register").text("Can't Register").css("background-color","#FF5722"); } else { if(status.includes("waitlisted")){