|
@@ -26,6 +26,7 @@ const SELECTOR_FOOTER = '.main-footer'
|
|
|
const SELECTOR_PUSHMENU_BTN = '[data-widget="pushmenu"]'
|
|
|
const SELECTOR_LOGIN_BOX = '.login-box'
|
|
|
const SELECTOR_REGISTER_BOX = '.register-box'
|
|
|
+const SELECTOR_PRELOADER = '.preloader'
|
|
|
|
|
|
const CLASS_NAME_SIDEBAR_COLLAPSED = 'sidebar-collapse'
|
|
|
const CLASS_NAME_SIDEBAR_FOCUSED = 'sidebar-focused'
|
|
@@ -173,6 +174,13 @@ class Layout {
|
|
|
setTimeout(() => {
|
|
|
$('body.hold-transition').removeClass('hold-transition')
|
|
|
}, 50)
|
|
|
+ const $preloader = $(SELECTOR_PRELOADER)
|
|
|
+ if ($preloader) {
|
|
|
+ $preloader.css('height', 0)
|
|
|
+ setTimeout(() => {
|
|
|
+ $preloader.children().hide()
|
|
|
+ }, 200)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
_max(numbers) {
|