open modal when hitting more info from popup or utplanner

This commit is contained in:
sghsri
2019-08-27 11:01:05 -05:00
parent 2c5a0945c7
commit 024d491e63
6 changed files with 46 additions and 32 deletions

View File

@@ -111,6 +111,9 @@ function seperateCourseNameParts(name) {
}
}
function isIndividualCoursePage(){
return $("#textbook_button").length != 0;
}
@@ -139,6 +142,10 @@ function setCurrentTabUrl(link) {
});
}
function openMoreInfoWithOpenModal(link){
chrome.runtime.sendMessage({ command: "setOpen", url: link });
}
function semesterSort(semA, semB) {
let semOrder = {