main
PJ568 1 year ago
parent 4bdb191e69
commit 871ce9ce31

@ -5,11 +5,11 @@ document.onreadystatechange=function () {
}
}
function loadingFade() {
var opacity=1;
const position = document.querySelector('#loading');
// var loadingPage=document.getElementById('loading');
var loadingBackground=document.getElementById('loading_bg');
var time=setInterval(function () {
var opacity=1;
const position = document.querySelector('#loading');
// var loadingPage=document.getElementById('loading');
var loadingBackground=document.getElementById('loading_bg');
var time=setInterval(function () {
if (opacity<=0){
clearInterval(time);
// loadingPage.remove();
@ -29,5 +29,5 @@ var time=setInterval(function () {
loadingBackground.style.opacity=opacity;
opacity-=0.4;
},100);
},100);
}
Loading…
Cancel
Save