lib
This commit is contained in:
parent
fb8e639121
commit
b0c75316b2
File diff suppressed because one or more lines are too long
|
@ -6328,16 +6328,13 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
||||||
if (!window.BDFDB || typeof BDFDB != "object" || Object.keys(BDFDB).length < keys || !BDFDB.id) {
|
if (!window.BDFDB || typeof BDFDB != "object" || Object.keys(BDFDB).length < keys || !BDFDB.id) {
|
||||||
console.warn(`%c[BDFDB]%c`, 'color: #3a71c1; font-weight: 700;', '', 'reloading library due to internal error.');
|
console.warn(`%c[BDFDB]%c`, 'color: #3a71c1; font-weight: 700;', '', 'reloading library due to internal error.');
|
||||||
clearInterval(crashInterval);
|
clearInterval(crashInterval);
|
||||||
clearInterval(ndmInterval);
|
|
||||||
reloadLib();
|
reloadLib();
|
||||||
}
|
}
|
||||||
else if (BDFDB.id != id) {
|
else if (BDFDB.id != id) {
|
||||||
clearInterval(crashInterval);
|
clearInterval(crashInterval);
|
||||||
clearInterval(ndmInterval);
|
|
||||||
}
|
}
|
||||||
else if (!BDFDB.creationTime || performance.now() - BDFDB.creationTime > 18000000) {
|
else if (!BDFDB.creationTime || performance.now() - BDFDB.creationTime > 18000000) {
|
||||||
clearInterval(crashInterval);
|
clearInterval(crashInterval);
|
||||||
clearInterval(ndmInterval);
|
|
||||||
reloadLib();
|
reloadLib();
|
||||||
}
|
}
|
||||||
},10000);
|
},10000);
|
||||||
|
|
Loading…
Reference in New Issue