mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Code refactoring
This commit is contained in:
parent
79233ad83c
commit
286ab567af
53 changed files with 618 additions and 581 deletions
|
|
@ -47,7 +47,7 @@
|
|||
MailBoxUserScreen.prototype.setNewTitle = function ()
|
||||
{
|
||||
var
|
||||
sEmail = Data.accountEmail(),
|
||||
sEmail = AccountStore.email(),
|
||||
nFoldersInboxUnreadCount = Data.foldersInboxUnreadCount()
|
||||
;
|
||||
|
||||
|
|
@ -113,10 +113,10 @@
|
|||
}, 50);
|
||||
|
||||
Events.sub('mailbox.inbox-unread-count', function (iCount) {
|
||||
|
||||
|
||||
Data.foldersInboxUnreadCount(iCount);
|
||||
|
||||
var sEmail = Data.accountEmail();
|
||||
var sEmail = AccountStore.email();
|
||||
|
||||
_.each(AccountStore.accounts(), function (oItem) {
|
||||
if (oItem && sEmail === oItem.email)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue