avoid FOUC in tabs on update/reload
This commit is contained in:
parent
21d902c48c
commit
35e0a9d032
|
@ -252,7 +252,7 @@
|
|||
// so we need to detach event listeners
|
||||
window.removeEventListener(orphanEventId, orphanCheck, true);
|
||||
isOrphaned = true;
|
||||
styleInjector.clear();
|
||||
setTimeout(styleInjector.clear, 1000); // avoiding FOUC
|
||||
tryCatch(msg.off, applyOnMessage);
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue
Block a user