Compare commits
No commits in common. "4dc9962738ea4bc09d392f947bc6e4ea480606f0" and "0571ded0b55fb1f0915842437e6f1cb6e13b49fd" have entirely different histories.
4dc9962738
...
0571ded0b5
13
Klausur.html
13
Klausur.html
|
@ -176,15 +176,8 @@
|
||||||
get_params[sp[0]] = decodeURIComponent(sp[1]);
|
get_params[sp[0]] = decodeURIComponent(sp[1]);
|
||||||
switch(sp[0]) {
|
switch(sp[0]) {
|
||||||
case "inputDarkMode":
|
case "inputDarkMode":
|
||||||
switch(get_params[sp[0]]) {
|
document.getElementById(sp[0]).checked=get_params[sp[0]];
|
||||||
case "true":
|
console.log("Loaded IDM: " + sp[0] + " => " + get_params[sp[0]]);
|
||||||
document.getElementById(sp[0]).checked=true;
|
|
||||||
break;
|
|
||||||
case "false":
|
|
||||||
document.getElementById(sp[0]).checked=false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
console.log("Loaded IDM: " + sp[0] + " => " + document.getElementById(sp[0]).checked);
|
|
||||||
break;
|
break;
|
||||||
case "inputExamDuration":
|
case "inputExamDuration":
|
||||||
case "inputExtraDuration":
|
case "inputExtraDuration":
|
||||||
|
@ -329,7 +322,7 @@
|
||||||
if(document.getElementById("inputDarkMode").checked) {
|
if(document.getElementById("inputDarkMode").checked) {
|
||||||
document.body.style.backgroundColor="#8ff"; // color-inversion!
|
document.body.style.backgroundColor="#8ff"; // color-inversion!
|
||||||
} else {
|
} else {
|
||||||
document.body.style.backgroundColor="#f55";
|
document.body.style.backgroundColor="#f88";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(endTime!=null && now>halfHourWarningTime && now<=halfHourWarningTime2 && now.getMilliseconds()<500) {
|
else if(endTime!=null && now>halfHourWarningTime && now<=halfHourWarningTime2 && now.getMilliseconds()<500) {
|
||||||
|
|
Loading…
Reference in New Issue