mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Move hideLoading into AbstractApp
This commit is contained in:
parent
467f615713
commit
28fb9a4cbd
4 changed files with 15 additions and 14 deletions
|
|
@ -165,6 +165,16 @@ class AbstractApp {
|
|||
LanguageStore.populate();
|
||||
ThemeStore.populate();
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {void}
|
||||
*/
|
||||
hideLoading() {
|
||||
const id = id => document.getElementById(id);
|
||||
id('rl-content').hidden = false;
|
||||
id('rl-loading').remove();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export { AbstractApp, AbstractApp as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue