From 95e211ccb7bbfbf8373bdcacfdc8d42e729623e7 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Thu, 24 Oct 2019 16:11:28 -0400
Subject: [PATCH] listen both events
---
src/main.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index cfa683e526..a9db1cff03 100644
--- a/src/main.js
+++ b/src/main.js
@@ -29,7 +29,6 @@ import VueClickOutside from 'v-click-outside'
import PortalVue from 'portal-vue'
import VBodyScrollLock from './directives/body_scroll_lock'
import VTooltip from 'v-tooltip'
-import MobileDetect from 'mobile-detect'
import afterStoreSetup from './boot/after_store.js'
@@ -44,7 +43,7 @@ Vue.use(PortalVue)
Vue.use(VBodyScrollLock)
Vue.use(VTooltip, {
popover: {
- defaultTrigger: (new MobileDetect(window.navigator.userAgent)).mobile() ? 'click' : 'hover',
+ defaultTrigger: 'hover click',
defaultContainer: false,
defaultOffset: 5
}