fix: secoia timeout

This commit is contained in:
Jean-Baptiste Pasquier 2021-06-29 11:24:35 +00:00
parent 403f35e6bf
commit 74b8de9ac9
1 changed files with 4 additions and 1 deletions

View File

@ -269,7 +269,10 @@ document.addEventListener("DOMContentLoaded", () => {
}
// Hotfix for Secoia
if (mutation.target.nodeName == "SOLID-DIRECTORY") {
if(!timer2) timer2 = setTimeout(() => mutation.target.render(), 1500);
if(!timer2) {
setTimeout(() => mutation.target.render(), 1000);
timer2 = setTimeout(() => mutation.target.render(), 2000);
}
}
});
}).observe(document.body, {