diff --git a/src/components/feedback/feedback.dom.js b/src/components/feedback/feedback.dom.js index b0b9b49e7d..d4b190fac0 100644 --- a/src/components/feedback/feedback.dom.js +++ b/src/components/feedback/feedback.dom.js @@ -2,10 +2,7 @@ import domready from 'js/domready'; async function initialise() { const buttons = [...document.querySelectorAll('.js-feedback-button')]; - - if (buttons.length) { - const Feedback = (await import('./feedback')).default; - new Feedback(buttons); - } + const Feedback = (await import('./feedback')).default; + new Feedback(buttons); } domready(initialise);