Cleanup DOM boot

This commit is contained in:
djmaze 2020-09-09 16:53:36 +02:00
parent e1f1a3aa12
commit 90acc04750
3 changed files with 6 additions and 6 deletions

3
dev/bootstrap.js vendored
View file

@ -1,4 +1,4 @@
import { $htmlCL, data as GlobalsData, bMobileDevice, dropdownVisibility } from 'Common/Globals';
import { data as GlobalsData, bMobileDevice, dropdownVisibility } from 'Common/Globals';
import * as Enums from 'Common/Enums';
import * as Plugins from 'Common/Plugins';
import { i18n } from 'Common/Translator';
@ -31,7 +31,6 @@ export default (App) => {
});
addEventListener('unload', () => GlobalsData.bUnload = true);
$htmlCL.add(bMobileDevice ? 'mobile' : 'no-mobile');
addEventListener('click', ()=>rl.Dropdowns.detectVisibility());
rl.app = App;