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

Commit

Permalink
dispatch WebComponentsReady event on document instead of body.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Dec 12, 2013
1 parent 8f09d9d commit a2039d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function bootstrap() {
CustomElements.elapsed = CustomElements.readyTime - HTMLImports.readyTime;
}
// notify the system that we are bootstrapped
document.body.dispatchEvent(
document.dispatchEvent(
new CustomEvent('WebComponentsReady', {bubbles: true})
);
});
Expand Down

0 comments on commit a2039d9

Please sign in to comment.