diff --git a/app/javascript/packs/application.ts b/app/javascript/packs/application.ts index ebabaa44..75ec820e 100644 --- a/app/javascript/packs/application.ts +++ b/app/javascript/packs/application.ts @@ -11,7 +11,7 @@ import initQuestion from 'retrospring/features/question'; import initModeration from 'retrospring/features/moderation'; start(); -document.addEventListener('turbolinks:load', initAnswerbox); +document.addEventListener('DOMContentLoaded', initAnswerbox); document.addEventListener('DOMContentLoaded', initInbox); document.addEventListener('DOMContentLoaded', initUser); document.addEventListener('turbolinks:load', initSettings);