summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/gsec.js2
-rw-r--r--pages/timetable.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/js/gsec.js b/js/gsec.js
index ab51b43..488794a 100644
--- a/js/gsec.js
+++ b/js/gsec.js
@@ -197,7 +197,7 @@ class gsec {
var day = subFields[5];
var desc = $(urnikElement).attr("title").split("\n");
var subject = desc[1].split('(').pop().split(')')[0]; // https://stackoverflow.com/a/27522597/11293716
- var abkurzung = desc[0].split(" (")[0];
+ var abkurzung = desc[1].split(" (")[0];
var razred = desc[2];
var teacher = desc[3];
var place = desc[4];
diff --git a/pages/timetable.html b/pages/timetable.html
index f9a3688..3bdb4fa 100644
--- a/pages/timetable.html
+++ b/pages/timetable.html
@@ -25,6 +25,7 @@
<link href="/css/fullcalendar/timegrid/main.min.css" rel="stylesheet" />
<link type="text/css" href="/css/styles.css" rel="stylesheet">
+ <script type="text/javascript" src="/js/gsec.js"></script> <!-- gimsisextclient -->
<script type="text/javascript" src="/js/timetable.js"></script>
<link rel="manifest" href="/manifest.json">