Skip to content

Commit

Permalink
Revert "individual bug fix"
Browse files Browse the repository at this point in the history
This reverts commit af61433.
  • Loading branch information
tadakda committed Aug 28, 2018
1 parent af61433 commit b4e8c75
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,7 @@ function getCourseInfo(row) {
/*Handle if on the individual course page, ie if the textbook button exists*/
if ($("#textbook_button").length) {
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);
} else {
profinit = "";
}
profinit = $("table").find("td[data-th='Instructor']").text().split(", ")[1].substring(0, 1);
profurl = document.URL;
console.log(profurl);
}
Expand Down

0 comments on commit b4e8c75

Please sign in to comment.