aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-18 00:25:00 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-18 00:25:00 +0200
commit64a49eb54ac93b9fb3ba4f65894c60dba5620048 (patch)
treea5c49ace5fdc41e9a9ab4ffb065e7d3cc5914f7b /view
parentb106b53d05b434f5bc717b87d4db56b511e1418b (diff)
downloadvolse-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')
-rw-r--r--view/js/main.js7
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);
}