Spinner update

This commit is contained in:
Tony Air 2019-07-18 13:07:11 +07:00
parent 71f81121e0
commit 00e7a35457

View File

@ -349,6 +349,12 @@ const MainUI = (($) => {
MainUI.init();
});
$(W).on('beforeunload', () => {
Spinner.show(() => {
$Body.removeClass('loaded');
});
});
W.MainUI = MainUI;
return MainUI;