diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-04-15 18:04:15 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-04-15 18:04:15 +0300 |
commit | d1467df1c1c19489f87e2da55f97ae2c64e20951 (patch) | |
tree | f0bd74893bb48894b8964d6fe31724c8357357eb /src/main.js | |
parent | c5015f53d1faeb097ed9b251037954ab850779f0 (diff) |
Make tooltips work in fullscreen mode
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index 9dec9551f..2332e0463 100644 --- a/src/main.js +++ b/src/main.js @@ -44,6 +44,7 @@ import { translate, translatePlural } from '@nextcloud/l10n' import VueObserveVisibility from 'vue-observe-visibility' import VueShortKey from 'vue-shortkey' import vOutsideEvents from 'vue-outside-events' +import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip' // Styles import '@nextcloud/dialogs/styles/toast.scss' @@ -71,6 +72,8 @@ Vue.use(VueObserveVisibility) Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) Vue.use(vOutsideEvents) +Tooltip.options.defaultContainer = '#content-vue' + const instance = new Vue({ el: '#content', store, |