From 37c454f7c2ed9904f2f25b6988608d23a323a9bb Mon Sep 17 00:00:00 2001 From: Sriram Hariharan Date: Sat, 14 Jul 2018 21:38:49 -0500 Subject: [PATCH] highling conflicts on the UT course list screen --- background.js | 21 ++++++++-- content.js | 105 ++++++++++++++++++++++++++++++++++++++++++++------ popup.js | 8 ++-- styles.css | 54 ++++++++++++++++++++++++++ 4 files changed, 169 insertions(+), 19 deletions(-) diff --git a/background.js b/background.js index b9207f85..8ebacf0f 100644 --- a/background.js +++ b/background.js @@ -7,6 +7,9 @@ chrome.runtime.onMessage.addListener(function(request, sender, response) { remove(request,sender,response); } } + else if(request.command == "isSingleConflict"){ + isSingleConflict(request.dtarr,response); + } else if(request.command == "checkConflicts"){ checkConflicts(response); } @@ -40,7 +43,7 @@ function checkConflicts(sendResponse) { var courses = data.savedCourses; for(var i = 0; iPlus'); - var modhtml = '