Skip to content

Commit

Permalink
fix(angular): use correct ready state for ssr bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Nov 28, 2022
1 parent 9a0db48 commit 9cc59f7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -9,7 +9,7 @@ function bootstrap() {
};


if (document.readyState === 'complete') {
if (document.readyState !== 'loading') {
bootstrap();
} else {
document.addEventListener('DOMContentLoaded', bootstrap);
Expand Down

0 comments on commit 9cc59f7

Please sign in to comment.