fix(core): update
This commit is contained in:
parent
4db0e6f5fc
commit
082ef21078
@ -14,7 +14,7 @@ export const elementBasicSetup = async () => {
|
||||
// lets make sure the dom is ready
|
||||
const documentReady = defer();
|
||||
document.onreadystatechange = () => {
|
||||
if (document.readyState === 'interactive') {
|
||||
if (document.readyState === 'interactive' || document.readyState === 'complete') {
|
||||
documentReady.resolve();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user