diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-03-20 00:09:38 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-03-20 00:09:38 +0100 |
commit | e8441c15180fa04ec1b24d76360fcaaa11edbaf0 (patch) | |
tree | 8174f47e69c60a16c054065615e128f6f5092ae9 | |
parent | js/gsec.js: dodan fetchMessage, fixi na postbacku, dodatki (diff) | |
download | beziapp-e8441c15180fa04ec1b24d76360fcaaa11edbaf0.tar beziapp-e8441c15180fa04ec1b24d76360fcaaa11edbaf0.tar.gz beziapp-e8441c15180fa04ec1b24d76360fcaaa11edbaf0.tar.bz2 beziapp-e8441c15180fa04ec1b24d76360fcaaa11edbaf0.tar.lz beziapp-e8441c15180fa04ec1b24d76360fcaaa11edbaf0.tar.xz beziapp-e8441c15180fa04ec1b24d76360fcaaa11edbaf0.tar.zst beziapp-e8441c15180fa04ec1b24d76360fcaaa11edbaf0.zip |
-rw-r--r-- | js/gsec.js | 2 | ||||
-rw-r--r-- | pages/timetable.html | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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"> |