diff --git a/src/scripts/hd-widgets.js b/src/scripts/hd-widgets.js index 3fc8bc8..8c9ef59 100644 --- a/src/scripts/hd-widgets.js +++ b/src/scripts/hd-widgets.js @@ -128,14 +128,11 @@ class HDAppLinkMore extends SIBWidget { } } -document.addEventListener('WebComponentsReady', function(event) { - - customElements.define('hdapp-userinfo', HDAppUserInfo); - customElements.define('hdapp-mail', HDAppMail); - customElements.define('hdapp-member', HDAppMember); - customElements.define('hdapp-author', HDAppAuthor); - customElements.define('hdapp-closing-date', HDAppClosingDate); - customElements.define('hdapp-available', HDAppAvailable); - customElements.define('hdapp-hyperlink', HDAppHyperlink); - customElements.define('hdapp-link-more', HDAppLinkMore); -}); +customElements.define('hdapp-userinfo', HDAppUserInfo); +customElements.define('hdapp-mail', HDAppMail); +customElements.define('hdapp-member', HDAppMember); +customElements.define('hdapp-author', HDAppAuthor); +customElements.define('hdapp-closing-date', HDAppClosingDate); +customElements.define('hdapp-available', HDAppAvailable); +customElements.define('hdapp-hyperlink', HDAppHyperlink); +customElements.define('hdapp-link-more', HDAppLinkMore); \ No newline at end of file