mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Remove Common/Enums Magics.*
This commit is contained in:
parent
382aef7ebb
commit
6541a1de7c
38 changed files with 135 additions and 219 deletions
|
|
@ -4,7 +4,7 @@ import AppStore from 'Stores/User/App';
|
|||
import AccountStore from 'Stores/User/Account';
|
||||
import MessageStore from 'Stores/User/Message';
|
||||
|
||||
import { Capa, Magics, KeyState } from 'Common/Enums';
|
||||
import { Capa, KeyState } from 'Common/Enums';
|
||||
import { settings } from 'Common/Links';
|
||||
|
||||
import * as Events from 'Common/Events';
|
||||
|
|
@ -51,7 +51,7 @@ class AbstractSystemDropDownUserView extends AbstractViewNext {
|
|||
accountClick(account, event) {
|
||||
if (account && event && undefined !== event.which && 1 === event.which) {
|
||||
AccountStore.accounts.loading(true);
|
||||
setTimeout(() => AccountStore.accounts.loading(false), Magics.Time1s);
|
||||
setTimeout(() => AccountStore.accounts.loading(false), 1000);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue