TypeError: window.events is undefined
Closed this issue · 1 comments
ux-engineer commented
I'm getting this error in Firefox when trying to post a reply. If I refresh the page after posting, the reply has been added.
[Vue warn]: Error in created hook: "TypeError: window.events is undefined"
found in
---> <Reply> at resources/assets/js/components/forum/Reply.vue
<Replies> at resources/assets/js/components/forum/Replies.vue
<ThreadView> at resources/assets/js/pages/Thread.vue
<Root>
This SO discussion seems to point out that we shouldn't be using window.events
ux-engineer commented
Sorry! I've modified this codebase and seems I had forgot to define window.events in bootstrap.js !