diff options
author | Marco Ambrosini <marcoambrosini@pm.me> | 2020-12-29 18:36:16 +0300 |
---|---|---|
committer | Marco Ambrosini <marcoambrosini@pm.me> | 2020-12-29 18:43:46 +0300 |
commit | 68d5952caa9707ca0751a47e1cdebc2f2dbc00ad (patch) | |
tree | 72d3427051b139de87bac73d9707db32477c504e /src/mainPublicShareSidebar.js | |
parent | b02e321ae2097e2cb146a75d919d0eb8df33335a (diff) |
Collapse descriptions on mousedown only
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/mainPublicShareSidebar.js')
-rw-r--r-- | src/mainPublicShareSidebar.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainPublicShareSidebar.js b/src/mainPublicShareSidebar.js index 5dc1b43ae..c17072550 100644 --- a/src/mainPublicShareSidebar.js +++ b/src/mainPublicShareSidebar.js @@ -32,6 +32,7 @@ import { getRequestToken } from '@nextcloud/auth' // Directives import { translate, translatePlural } from '@nextcloud/l10n' import VueShortKey from 'vue-shortkey' +import vOutsideEvents from 'vue-outside-events' // Styles import '@nextcloud/dialogs/styles/toast.scss' @@ -54,6 +55,7 @@ Vue.prototype.OCA = OCA Vue.use(Vuex) Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) +Vue.use(vOutsideEvents) function adjustLayout() { document.querySelector('#app-content').appendChild(document.querySelector('footer')) |