diff options
Diffstat (limited to 'src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue')
-rw-r--r-- | src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue index c54995088..b76317a0c 100644 --- a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue +++ b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue @@ -240,13 +240,13 @@ export default { /** * Listen to routeChange global events and focus on the */ - EventBus.$on('focusChatInput', this.focusInput) + EventBus.$on('focus-chat-input', this.focusInput) this.atWhoPanelExtraClasses = 'talk candidate-mentions' }, beforeDestroy() { - EventBus.$off('focusChatInput', this.focusInput) + EventBus.$off('focus-chat-input', this.focusInput) }, methods: { |