summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-14 11:12:47 +0200
committerGitHub <noreply@github.com>2020-05-14 11:12:47 +0200
commitd749c748ae55d9d6b7c61a1502714807e6c03433 (patch)
tree82888ae1b87f8b47f1caec310288b60618592b95 /js
parentbug fix fix (diff)
downloadbeziapp-d749c748ae55d9d6b7c61a1502714807e6c03433.tar
beziapp-d749c748ae55d9d6b7c61a1502714807e6c03433.tar.gz
beziapp-d749c748ae55d9d6b7c61a1502714807e6c03433.tar.bz2
beziapp-d749c748ae55d9d6b7c61a1502714807e6c03433.tar.lz
beziapp-d749c748ae55d9d6b7c61a1502714807e6c03433.tar.xz
beziapp-d749c748ae55d9d6b7c61a1502714807e6c03433.tar.zst
beziapp-d749c748ae55d9d6b7c61a1502714807e6c03433.zip
Diffstat (limited to '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 664c15c..5b426f0 100644
--- a/js/gsec.js
+++ b/js/gsec.js
@@ -112,7 +112,7 @@ class gsec {
if (response.code === 302) {
resolve(true);
} else {
- if ((parsed.getElementById("lblMsg"))) { // če obstaja lblMsg (napaka pri prijavi)
+ if (parsed.getElementById("lblMsg")) { // če obstaja lblMsg (napaka pri prijavi)
reject(new Error(GSEC_ERR_LOGIN));
} else if (!(parsed.getElementById("ctl00_lblLoginName"))) { // če ni ctl00_lblLoginName nismo na Default.aspx
reject(new Error(GSEC_ERR_LOGIN));