Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit a2039d9

Browse files
committed
dispatch WebComponentsReady event on document instead of body.
1 parent 8f09d9d commit a2039d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function bootstrap() {
2525
CustomElements.elapsed = CustomElements.readyTime - HTMLImports.readyTime;
2626
}
2727
// notify the system that we are bootstrapped
28-
document.body.dispatchEvent(
28+
document.dispatchEvent(
2929
new CustomEvent('WebComponentsReady', {bubbles: true})
3030
);
3131
});

0 commit comments

Comments
 (0)