Skip to content
Snippets Groups Projects
Commit 988b701b authored by Tilman Vatteroth's avatar Tilman Vatteroth :robot:
Browse files

workaround

für wochenende
parent 2f4c2653
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ this.loaded = function(panel, config) {
var day = new Date();
switch(day.getDay()){
case 0:
var gerichte = json.sonntag.gerichte;
var gerichte = json.montag.gerichte;
break;
case 1:
var gerichte = json.montag.gerichte;
......@@ -34,7 +34,7 @@ this.loaded = function(panel, config) {
var gerichte = json.freitag.gerichte;
break;
case 6:
var gerichte = json.samstag.gerichte;
var gerichte = json.montag.gerichte;
break;
}
var tableBody = document.getElementById("mensaPlanTable1Body");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment