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/main.js | |
parent | e0952d033cd264b8b9d266c73c8d7f5d62ba56b8 (diff) |
Add shortcuts for audio and video control again
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index 3386f34b8..7103b0b52 100644 --- a/src/main.js +++ b/src/main.js @@ -41,6 +41,7 @@ import { getRequestToken } from '@nextcloud/auth' import VueClipboard from 'vue-clipboard2' import { translate, translatePlural } from '@nextcloud/l10n' import VueObserveVisibility from 'vue-observe-visibility' +import VueShortKey from 'vue-shortkey' // CSP config for webpack dynamic chunk loading // eslint-disable-next-line @@ -62,6 +63,7 @@ Vue.use(Vuex) Vue.use(VueRouter) Vue.use(VueClipboard) Vue.use(VueObserveVisibility) +Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) export default new Vue({ el: '#content', |