Skip to content

Commit

Permalink
Update course_timetable.js
Browse files Browse the repository at this point in the history
  • Loading branch information
anshium committed Jan 12, 2024
1 parent 8682787 commit fbd9c31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions course_timetable.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var NUM_SLOTS = 5;

timetable_layers = {
let timetable_layers = {
base : {
"Monday" : [
"",
Expand Down Expand Up @@ -63,13 +63,13 @@ timetable_layers = {
},
}

timetable_colors = {
let timetable_colors = {
base : ["black", "yellowgreen"],
computer_graphics : ["white", "#1083e8"],
topping : ["white", "white"]
};

id_mappings = {
let id_mappings = {
"Monday" : ["MN1", "MN2", "MN3", "MN4", "MN5"],
"Tuesday" : ["TU1", "TU2", "TU3", "TU4", "TU5"],
"Wednesday" : ["WD1", "WD2", "WD3", "WD4", "WD5"],
Expand Down Expand Up @@ -98,7 +98,7 @@ function updateTimetable(){

updateTimetable();

selected_layers = timetable_layers["base"];
let selected_layers = timetable_layers["base"];

// Get all checkbox elements with the class 'option'
const checkboxes = document.querySelectorAll('.option');
Expand Down

0 comments on commit fbd9c31

Please sign in to comment.