mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +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();
|
reqUnreadNum();
|
||||||
// request every 30s
|
// request every `unread_notifications_request_interval` seconds
|
||||||
var reqInterval = setInterval(reqUnreadNum, app.pageOptions.unread_notifications_request_interval*1000);
|
var reqInterval = setInterval(reqUnreadNum, (app.pageOptions.unread_notifications_request_interval || 3*60)*1000);
|
||||||
|
|
||||||
$('#notice-icon').click(function() {
|
$('#notice-icon').click(function() {
|
||||||
_this.toggle();
|
_this.toggle();
|
||||||
|
Reference in New Issue
Block a user