summaryrefslogtreecommitdiffstats
path: root/assets/js/gsec.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/gsec.js')
-rw-r--r--assets/js/gsec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/js/gsec.js b/assets/js/gsec.js
index 3dcde88..2f5400d 100644
--- a/assets/js/gsec.js
+++ b/assets/js/gsec.js
@@ -236,12 +236,14 @@ class gsec {
var razred = desc[2];
var teacher = desc[3];
var place = desc[4];
+ var nadomescanje = urnikElement.parentElement.classList.contains("flagS");
urnik[day][period] = {
"subject": subject,
"acronym": abkurzung,
"class": razred,
"teacher": teacher,
- "place": place
+ "place": place,
+ "substitution": nadomescanje
};
}
resolve(urnik);