diff options
author | Joas Schilling <coding@schilljs.com> | 2020-01-17 13:26:43 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-01-21 16:50:31 +0300 |
commit | 8241642ba1ac4f3e15f915d110e24b7403545832 (patch) | |
tree | 809178f9279eae16a70016cc0c01df9cb58ec9b4 /src/mainFilesSidebar.js | |
parent | e0952d033cd264b8b9d266c73c8d7f5d62ba56b8 (diff) |
Add shortcuts for audio and video control again
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/mainFilesSidebar.js')
-rw-r--r-- | src/mainFilesSidebar.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainFilesSidebar.js b/src/mainFilesSidebar.js index 005188bd4..68e09e4a5 100644 --- a/src/mainFilesSidebar.js +++ b/src/mainFilesSidebar.js @@ -36,6 +36,7 @@ import { getRequestToken } from '@nextcloud/auth' // Directives import { translate, translatePlural } from '@nextcloud/l10n' +import VueShortKey from 'vue-shortkey' // CSP config for webpack dynamic chunk loading // eslint-disable-next-line @@ -54,6 +55,7 @@ Vue.prototype.OC = OC Vue.prototype.OCA = OCA Vue.use(Vuex) +Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) const newCallView = () => new Vue({ store, |