Skip to content

Commit 81bc768

Browse files
author
Joan He
committed
B2B-343: Stabilize Community PR
1 parent 720a139 commit 81bc768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/web/requirejs/domReady.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ define(function () {
9090
//There is still a window.onload binding that should get fired if
9191
//DOMContentLoaded is missed.
9292
if (document.readyState !== "loading") {
93-
pageLoaded();
93+
setTimeout(pageLoaded);
9494
}
9595
}
9696

@@ -126,4 +126,4 @@ define(function () {
126126
/** END OF PUBLIC API **/
127127

128128
return domReady;
129-
});
129+
});

0 commit comments

Comments
 (0)