diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-01-17 21:42:24 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-01-17 21:42:24 +0100 |
commit | cc1e1a525f2c928590d1da6e775dc29dddc2166d (patch) | |
tree | 52113d0802651208ca56e4380059a2c0ec8e7dd7 /view/js/main.js | |
parent | b1b1e0eba4f1e698c5f0f4f14b0527741e5b9ffb (diff) | |
download | volse-hubzilla-cc1e1a525f2c928590d1da6e775dc29dddc2166d.tar.gz volse-hubzilla-cc1e1a525f2c928590d1da6e775dc29dddc2166d.tar.bz2 volse-hubzilla-cc1e1a525f2c928590d1da6e775dc29dddc2166d.zip |
possible fix for #1326
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 3 |
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 = []; |