Browse Source

fix: secoia timeout

webpushnotifications
Jean-Baptiste Pasquier 3 months ago
parent
commit
74b8de9ac9
  1. 5
      src/scripts/intl.js

5
src/scripts/intl.js

@ -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, {

Loading…
Cancel
Save