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