mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Momentor.reload to CustomEvent
This commit is contained in:
parent
9f1ea1a0fd
commit
efc2dd89e1
4 changed files with 23 additions and 38 deletions
|
|
@ -2,7 +2,6 @@ import ko from 'ko';
|
|||
import { Notification, UploadErrorCode } from 'Common/Enums';
|
||||
import { pInt } from 'Common/Utils';
|
||||
import { $html, $htmlCL } from 'Common/Globals';
|
||||
import { reload as momentorReload } from 'Common/Momentor';
|
||||
import { langLink } from 'Common/Links';
|
||||
|
||||
let I18N_DATA = window.rainloopI18N || {};
|
||||
|
|
@ -148,7 +147,7 @@ const reloadData = () => {
|
|||
|
||||
i18nToNodes(document);
|
||||
|
||||
momentorReload();
|
||||
dispatchEvent(new CustomEvent('reload-time'));
|
||||
trigger(!trigger());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue