Skip to content

Commit

Permalink
removing args
Browse files Browse the repository at this point in the history
  • Loading branch information
yannisalexiou committed Dec 25, 2019
1 parent 37a2a3e commit fb59bb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions courses/semester.js
Expand Up @@ -128,7 +128,7 @@ function simpleSemesterSelector(html, selector, semester) {
var row = data.children();
var code = row.eq(0).text();
var title = row.eq(1).text();
var link = row.eq(1).attr("href");
//var link = row.eq(1).attr("href");
var theoryHours = row.eq(2).text();
var labHours = row.eq(3).text();
var ects = row.eq(4).text();
Expand Down Expand Up @@ -181,17 +181,17 @@ function cycleSemesterSelector(html, selector, semester) {
var coursesArray = [];
const icsdDomain = "http://www.icsd.aegean.gr/icsd/pps_lessons.php?lesson_id=";

tableFiltered.children("table").children("tbody").each(function (i) {
tableFiltered.children("table").children("tbody").each(function () {
var data = $(this);

data.children("tr").each(function (i) {
data.children("tr").each(function () {
var data = $(this);

var row = data.children();

var code = row.eq(0).text();
var title = row.eq(1).text();
var link = row.eq(1).attr("href");
//var link = row.eq(1).attr("href");
var theoryHours = row.eq(2).text();
var labHours = row.eq(3).text();
var ects = row.eq(4).text();
Expand Down

0 comments on commit fb59bb6

Please sign in to comment.