can change the semester

This commit is contained in:
sghsri
2018-12-12 22:13:10 -06:00
parent 5bfb5c0865
commit 572cdd680d

View File

@@ -352,7 +352,7 @@ function getSemesters(){
var object = $('<div/>').html(response).contents(); var object = $('<div/>').html(response).contents();
object.find('.callout2>ul>li>a').each(function () { object.find('.callout2>ul>li>a').each(function () {
if($(this).text() != "Course Schedule Archive"){ if($(this).text() != "Course Schedule Archive"){
var semname = $(this).text(); var semname = $(this).text().split(" ")[0].substring(0,2)+" " +$(this).text().split(" ")[1];
chrome.runtime.sendMessage({ chrome.runtime.sendMessage({
method: "GET", method: "GET",
action: "xhttp", action: "xhttp",