@@ -217,12 +217,7 @@ function getCourseInfo(row) {
|
|||||||
/*Handle if on the individual course page, ie if the textbook button exists*/
|
/*Handle if on the individual course page, ie if the textbook button exists*/
|
||||||
if ($("#textbook_button").length) {
|
if ($("#textbook_button").length) {
|
||||||
coursename = $("#details h2").text();
|
coursename = $("#details h2").text();
|
||||||
var gotname = $("table").find("td[data-th='Instructor']").text();
|
|
||||||
if (gotname != "") {
|
|
||||||
profinit = $("table").find("td[data-th='Instructor']").text().split(", ")[1].substring(0, 1);
|
profinit = $("table").find("td[data-th='Instructor']").text().split(", ")[1].substring(0, 1);
|
||||||
} else {
|
|
||||||
profinit = "";
|
|
||||||
}
|
|
||||||
profurl = document.URL;
|
profurl = document.URL;
|
||||||
console.log(profurl);
|
console.log(profurl);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user