mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
update notification interval
set 3 * 60 as the default interval for the js value.
This commit is contained in:
@@ -71,8 +71,8 @@ define([
|
||||
});
|
||||
};
|
||||
reqUnreadNum();
|
||||
// request every 30s
|
||||
var reqInterval = setInterval(reqUnreadNum, app.pageOptions.unread_notifications_request_interval*1000);
|
||||
// request every `unread_notifications_request_interval` seconds
|
||||
var reqInterval = setInterval(reqUnreadNum, (app.pageOptions.unread_notifications_request_interval || 3*60)*1000);
|
||||
|
||||
$('#notice-icon').click(function() {
|
||||
_this.toggle();
|
||||
|
Reference in New Issue
Block a user