Commit dc940e55 authored by jblemee's avatar jblemee

fix: Use DOMContentLoaded instead of WebComponentReady since it's ES6 module

parent 29c58130
......@@ -75,7 +75,7 @@ export class SIBRouter extends HTMLElement {
window.addEventListener('requestNavigation', event => {
this.navigate(event.detail.route, event.detail.resource);
})
window.addEventListener('WebComponentsReady', event => this.display());
window.addEventListener('DOMContentLoaded', event => this.display());
}
get useHash() {
return this.hasAttribute('use-hash');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment