10 seconds timeout
This commit is contained in:
Родитель
f35a936b03
Коммит
691dfdb13e
|
@ -43,13 +43,13 @@ var Mail = {
|
||||||
icon: icon
|
icon: icon
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
notification.onclick = function(x) {
|
notification.onclick = function() {
|
||||||
Mail.UI.loadMessages(accountId, folderId, false);
|
Mail.UI.loadMessages(accountId, folderId, false);
|
||||||
window.focus();
|
window.focus();
|
||||||
};
|
};
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
notification.close()
|
notification.close();
|
||||||
}, 5000);
|
}, 10000);
|
||||||
}, checkForNotifications: function() {
|
}, checkForNotifications: function() {
|
||||||
_.each(Mail.State.accounts, function (a) {
|
_.each(Mail.State.accounts, function (a) {
|
||||||
var localAccount = Mail.State.folderView.collection.get(a.accountId);
|
var localAccount = Mail.State.folderView.collection.get(a.accountId);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче