From 5f0d53fcb6a5adfbfa459b22544577ddd403a903 Mon Sep 17 00:00:00 2001 From: borissedw Date: Wed, 9 Aug 2023 16:54:58 +0300 Subject: [PATCH] 0.0.95 --- static/js/global_js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/global_js.js b/static/js/global_js.js index d85c2ce..0aec78d 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -9,7 +9,7 @@ function getNewMessageSession (){ r[o[i].split("=")[0]] = o[i].split("=")[1]; } let prs_ = null - if (r['user_alerts'] !== null || r['user_alerts']){ + if (r['user_alerts'] !== undefined){ let prs = JSON.parse(r['user_alerts']) prs_ = JSON.parse(prs) } else {