Commit 95e211cc authored by Tae Hoon's avatar Tae Hoon

listen both events

parent 052a00da
......@@ -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(VTooltip, {
popover: {
defaultTrigger: (new MobileDetect(window.navigator.userAgent)).mobile() ? 'click' : 'hover',
defaultTrigger: 'hover click',
defaultContainer: false,
defaultOffset: 5
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment