summaryrefslogtreecommitdiffstats
path: root/js/gsec.js
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-20 00:09:38 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-20 00:09:38 +0100
commite8441c15180fa04ec1b24d76360fcaaa11edbaf0 (patch)
tree8174f47e69c60a16c054065615e128f6f5092ae9 /js/gsec.js
parentjs/gsec.js: dodan fetchMessage, fixi na postbacku, dodatki (diff)
downloadbeziapp-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
Diffstat (limited to 'js/gsec.js')
-rw-r--r--js/gsec.js2
1 files changed, 1 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];