summaryrefslogtreecommitdiffstats
path: root/dist/js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 16:17:22 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 16:17:22 +0200
commit3b61e8681d5db498e76fa1c843062a0a7a403c64 (patch)
tree988cc3f20fcd54c0f28a5ef7bbc3b7e8ee42f0d8 /dist/js
parentRevert "DNM" (diff)
downloadbeziapp-3b61e8681d5db498e76fa1c843062a0a7a403c64.tar
beziapp-3b61e8681d5db498e76fa1c843062a0a7a403c64.tar.gz
beziapp-3b61e8681d5db498e76fa1c843062a0a7a403c64.tar.bz2
beziapp-3b61e8681d5db498e76fa1c843062a0a7a403c64.tar.lz
beziapp-3b61e8681d5db498e76fa1c843062a0a7a403c64.tar.xz
beziapp-3b61e8681d5db498e76fa1c843062a0a7a403c64.tar.zst
beziapp-3b61e8681d5db498e76fa1c843062a0a7a403c64.zip
Diffstat (limited to 'dist/js')
-rwxr-xr-xdist/js/app.js2
-rw-r--r--dist/js/gsec.js5
2 files changed, 4 insertions, 3 deletions
diff --git a/dist/js/app.js b/dist/js/app.js
index f45ab3f..bcaa127 100755
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -3,7 +3,7 @@
const app_version = "1.0.13-beta";
-const previous_commit = "a078f237a622d6aa01e07199769e427217d79d1c";
+const previous_commit = "0a045055fbfa8a5228f1deeca9d85a4b6a7b0fca";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js")
diff --git a/dist/js/gsec.js b/dist/js/gsec.js
index a3a8bdd..df571f6 100644
--- a/dist/js/gsec.js
+++ b/dist/js/gsec.js
@@ -601,8 +601,9 @@ class gsec {
}
var tume = messageElement.getElementsByClassName("msgSubDate")[0].innerHTML.split(" ")[1];
- tume = tume ?? messageElement.getElementsByClassName("msgSubDate")[0].innerHTML;
-
+ if(tume == null || tume.length < 1) {
+ tume = messageElement.getElementsByClassName("msgSubDate")[0].innerHTML;
+ }
var dateStringToParse = `${date[2]}-${date[1]}-${date[0]} ${tume}`;
var dateObj = new Date(Date.parse(dateStringToParse)); // "tume"!
var person = messageElement.getElementsByClassName("msgDir")[0].innerHTML;