diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-18 00:25:00 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-18 00:25:00 +0200 |
commit | 64a49eb54ac93b9fb3ba4f65894c60dba5620048 (patch) | |
tree | a5c49ace5fdc41e9a9ab4ffb065e7d3cc5914f7b /view/js/main.js | |
parent | b106b53d05b434f5bc717b87d4db56b511e1418b (diff) | |
download | volse-hubzilla-64a49eb54ac93b9fb3ba4f65894c60dba5620048.tar.gz volse-hubzilla-64a49eb54ac93b9fb3ba4f65894c60dba5620048.tar.bz2 volse-hubzilla-64a49eb54ac93b9fb3ba4f65894c60dba5620048.zip |
update notifications if a notification area remains open
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index 0aeb4d36d..3455de5c2 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1000,6 +1000,13 @@ function notify_popup_loader(notifyType) { }); } }); + + setTimeout(function() { + if(notify_menu.hasClass('show')) { + console.log('updating ' + notifyType + ' notifications...'); + setTimeout(notify_popup_loader, updateInterval, notifyType); + } + }, 1000); } |