UI: debug init timer

This commit is contained in:
Tony Air 2020-05-14 02:31:19 +07:00
parent 27a300475a
commit 9fbc6fa9c4
4 changed files with 5 additions and 3 deletions

2
dist/js/app.js vendored

File diff suppressed because one or more lines are too long

2
dist/js/app.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -46,7 +46,7 @@ const HeaderUI = (($) => {
static dispose() {
$Body.removeClass('shrink');
$(`#Header,.js${NAME},.footer,.jsFooterUI,.wrapper`).attr('css', '');
$(`#Header,.js${NAME},.footer,.jsFooterUI,.wrapper`).attr('css', '');
}
}

View File

@ -42,8 +42,10 @@ const MainUI = (($) => {
console.groupEnd('Events');
console.groupCollapsed('Init');
console.time('init');
$(W).on(`${Events.LODEDANDREADY}`, () => {
console.groupEnd('Init');
console.timeEnd('init');
});
// get browser locale