stuff
This commit is contained in:
parent
1b2e614d2e
commit
5e7f121608
|
@ -597,7 +597,7 @@ class PluginRepo {
|
||||||
var finishCounter = 0, finishInterval = setInterval(() => {
|
var finishCounter = 0, finishInterval = setInterval(() => {
|
||||||
if ((webviewqueue.length == 0 && !webviewrunning) || finishCounter > 300 || !this.loading.is) {
|
if ((webviewqueue.length == 0 && !webviewrunning) || finishCounter > 300 || !this.loading.is) {
|
||||||
clearInterval(finishInterval);
|
clearInterval(finishInterval);
|
||||||
BDFDB.removeEles(webview, loadingicon);
|
BDFDB.removeEles(webview, loadingicon, ".pluginrepo-loadingicon");
|
||||||
if (!loadingiconwrapper.firstChild) BDFDB.removeEles(loadingiconwrapper);
|
if (!loadingiconwrapper.firstChild) BDFDB.removeEles(loadingiconwrapper);
|
||||||
clearTimeout(this.loading.timeout);
|
clearTimeout(this.loading.timeout);
|
||||||
this.loading = {is:false, timeout:null, amount:this.loading.amount};
|
this.loading = {is:false, timeout:null, amount:this.loading.amount};
|
||||||
|
|
|
@ -721,7 +721,7 @@ class ThemeRepo {
|
||||||
clearTimeout(this.loading.timeout);
|
clearTimeout(this.loading.timeout);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
BDFDB.removeEles(loadingicon);
|
BDFDB.removeEles(loadingicon, ".themerepo-loadingicon");
|
||||||
if (!loadingiconwrapper.firstChild) BDFDB.removeEles(loadingiconwrapper);
|
if (!loadingiconwrapper.firstChild) BDFDB.removeEles(loadingiconwrapper);
|
||||||
clearTimeout(this.loading.timeout);
|
clearTimeout(this.loading.timeout);
|
||||||
this.loading = {is:false, timeout:null, amount:this.loading.amount};
|
this.loading = {is:false, timeout:null, amount:this.loading.amount};
|
||||||
|
|
Loading…
Reference in New Issue