From 787737c80d8b815209539f159449efee677bd5d9 Mon Sep 17 00:00:00 2001 From: taehoon Date: Tue, 2 Apr 2019 13:18:36 -0400 Subject: hide results on outside click --- src/main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.js') diff --git a/src/main.js b/src/main.js index c80aea36..725f5806 100644 --- a/src/main.js +++ b/src/main.js @@ -22,6 +22,7 @@ import pushNotifications from './lib/push_notifications_plugin.js' import messages from './i18n/messages.js' import VueChatScroll from 'vue-chat-scroll' +import VueClickOutside from 'v-click-outside' import afterStoreSetup from './boot/after_store.js' @@ -39,6 +40,7 @@ Vue.use(VueTimeago, { }) Vue.use(VueI18n) Vue.use(VueChatScroll) +Vue.use(VueClickOutside) const i18n = new VueI18n({ // By default, use the browser locale, we will update it if neccessary -- cgit v1.2.3-70-g09d2