mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Underscore.js _.delay() to native setTimeout()
This commit is contained in:
parent
a82575a830
commit
43c92a82e6
29 changed files with 67 additions and 82 deletions
|
|
@ -109,8 +109,8 @@ class MailBoxUserScreen extends AbstractScreen {
|
|||
MessageStore.messageList.subscribe(windowResizeCallback);
|
||||
MessageStore.message.subscribe(windowResizeCallback);
|
||||
|
||||
_.delay(() => SettingsStore.layout.valueHasMutated(), Magics.Time50ms);
|
||||
_.delay(() => warmUpScreenPopup(require('View/Popup/Compose')), Magics.Time500ms);
|
||||
setTimeout(() => SettingsStore.layout.valueHasMutated(), Magics.Time50ms);
|
||||
setTimeout(() => warmUpScreenPopup(require('View/Popup/Compose')), Magics.Time500ms);
|
||||
|
||||
Events.sub('mailbox.inbox-unread-count', (count) => {
|
||||
FolderStore.foldersInboxUnreadCount(count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue