summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-17 14:15:35 +0200
committerrstular <rok@stular.eu>2020-05-17 14:17:08 +0200
commit44e8c1e1c9124b36a78f775b9a7dd12152a71d98 (patch)
treee17527f35ce26c8b5502ecde72fa0f5714a238c6
parentBug fix - GSEC regex matching (diff)
downloadbeziapp-44e8c1e1c9124b36a78f775b9a7dd12152a71d98.tar
beziapp-44e8c1e1c9124b36a78f775b9a7dd12152a71d98.tar.gz
beziapp-44e8c1e1c9124b36a78f775b9a7dd12152a71d98.tar.bz2
beziapp-44e8c1e1c9124b36a78f775b9a7dd12152a71d98.tar.lz
beziapp-44e8c1e1c9124b36a78f775b9a7dd12152a71d98.tar.xz
beziapp-44e8c1e1c9124b36a78f775b9a7dd12152a71d98.tar.zst
beziapp-44e8c1e1c9124b36a78f775b9a7dd12152a71d98.zip
Diffstat (limited to '')
-rw-r--r--assets/js/gsec.js3
-rw-r--r--dist/js/gsec.js3
-rw-r--r--dist/pages/about.html2
-rw-r--r--dist/sw.js4
4 files changed, 7 insertions, 5 deletions
diff --git a/assets/js/gsec.js b/assets/js/gsec.js
index 6c3de0f..d0e5fbb 100644
--- a/assets/js/gsec.js
+++ b/assets/js/gsec.js
@@ -314,7 +314,8 @@ class gsec {
for (const subjectString of subjectStrings) {
var subjectName = SUBJECT_REGEX.exec(stripHtml(subjectString))[1];
- var abkurzung = ABKURZUNG_REGEX.exec(stripHtml(subjectString))[1];
+ var abkurzung = ABKURZUNG_REGEX.exec(stripHtml(subjectString));
+ abkurzung = abkurzung == null ? subjectName : abkurzung[1];
subjects[abkurzung] = subjectName;
}
diff --git a/dist/js/gsec.js b/dist/js/gsec.js
index 6c3de0f..d0e5fbb 100644
--- a/dist/js/gsec.js
+++ b/dist/js/gsec.js
@@ -314,7 +314,8 @@ class gsec {
for (const subjectString of subjectStrings) {
var subjectName = SUBJECT_REGEX.exec(stripHtml(subjectString))[1];
- var abkurzung = ABKURZUNG_REGEX.exec(stripHtml(subjectString))[1];
+ var abkurzung = ABKURZUNG_REGEX.exec(stripHtml(subjectString));
+ abkurzung = abkurzung == null ? subjectName : abkurzung[1];
subjects[abkurzung] = subjectName;
}
diff --git a/dist/pages/about.html b/dist/pages/about.html
index be31e44..8feacd2 100644
--- a/dist/pages/about.html
+++ b/dist/pages/about.html
@@ -142,7 +142,7 @@
<div class="row">
<p>
<small>
- ^HEAD 96dd81ddf1188377bf1402e866c4b263dbd55d1c
+ ^HEAD ad64f108d5480155fad1424e9ea958f0c2227d60
</p>
</div>
</div>
diff --git a/dist/sw.js b/dist/sw.js
index c2a150b..95cefde 100644
--- a/dist/sw.js
+++ b/dist/sw.js
@@ -3,8 +3,8 @@
// Change version to cause cache refresh
-const static_cache_name = "site-static-1.0.13-beta-96dd81d";
-// latest commit is 96dd81ddf1188377bf1402e866c4b263dbd55d1c
+const static_cache_name = "site-static-1.0.13-beta-ad64f10";
+// latest commit is ad64f108d5480155fad1424e9ea958f0c2227d60
// Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js
// sw.js NE SME BITI CACHAN, ker vsebuje verzijo!