File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22 <div class =" md-layout" >
33 <AlgoliaTags :kuzzle-major =" kuzzleMajor" />
4- <div class =" overlayLoading" v-if =" isLoading" />
54 <div
65 class =" overlay"
76 :class =" { hidden: !sidebarOpen }"
@@ -103,7 +102,6 @@ export default {
103102 data () {
104103 return {
105104 sidebarOpen: false ,
106- isLoading: true ,
107105 headerResizeObserver: undefined ,
108106 removeRouterListener: undefined ,
109107 };
@@ -248,13 +246,6 @@ export default {
248246 window .scrollTo (0 , anchorElement .offsetTop );
249247 }
250248
251- this .isLoading = document .readyState !== ' complete' ;
252- document .onreadystatechange = () => {
253- if (document .readyState === ' complete' ) {
254- this .isLoading = false ;
255- }
256- };
257-
258249 window .addEventListener (' resize' , this .computeContentHeight .bind (this ));
259250 window .addEventListener (' scroll' , this .computeSidebarHeight .bind (this ));
260251
Original file line number Diff line number Diff line change @@ -172,21 +172,6 @@ $md-toggle__drawer--checked: '[data-md-toggle="drawer"]:checked ~ .md-container'
172172 }
173173}
174174
175- .overlayLoading {
176- width : 100% ;
177- height : 100% ;
178- position : fixed ;
179- background-color : rgb (255 , 255 , 255 );
180- opacity : 1 ;
181- z-index : 10 ;
182- overflow : hidden ;
183- cursor : pointer ;
184-
185- & .hidden {
186- display : none ;
187- }
188- }
189-
190175.overlay {
191176 width : 100% ;
192177 height : 100% ;
You can’t perform that action at this time.
0 commit comments