aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2019-01-18 06:13:04 +0100
committerM. Dent <dentm42@gmail.com>2019-01-18 06:13:04 +0100
commite89a3b05ece60ecb994e0dd4c2701164cabb0525 (patch)
tree52113d0802651208ca56e4380059a2c0ec8e7dd7
parentb1b1e0eba4f1e698c5f0f4f14b0527741e5b9ffb (diff)
parentcc1e1a525f2c928590d1da6e775dc29dddc2166d (diff)
downloadvolse-hubzilla-e89a3b05ece60ecb994e0dd4c2701164cabb0525.tar.gz
volse-hubzilla-e89a3b05ece60ecb994e0dd4c2701164cabb0525.tar.bz2
volse-hubzilla-e89a3b05ece60ecb994e0dd4c2701164cabb0525.zip
Merge branch 'core_fixes' into 'dev'
possible fix for #1326 See merge request hubzilla/core!1477
-rw-r--r--view/js/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 017d39353..ee11ab1c6 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -468,6 +468,9 @@ function notificationsUpdate(cached_data) {
$.get(pingCmd,function(data) {
// Put the object into storage
+ if(! data)
+ return;
+
sessionStorage.setItem('notifications_cache', JSON.stringify(data));
var fnotifs = [];