Use proper event for global event handlers in answerbox
This commit is contained in:
parent
d89302f1cc
commit
bc979a3615
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue