diff --git a/src/components/misc/keyboard-shortcuts.vue b/src/components/misc/keyboard-shortcuts.vue index 138d4a99..359ed6df 100644 --- a/src/components/misc/keyboard-shortcuts.vue +++ b/src/components/misc/keyboard-shortcuts.vue @@ -32,50 +32,30 @@
Assign this task to a user - ctrl - + - shift - + a
Add labels to this task - ctrl - + - shift - + l
Change the due date of this task - ctrl - + - shift - + d
Add an attachment to this task - ctrl - + - shift - + f
Modify related tasks of this task - ctrl - + - shift - + r
diff --git a/src/main.js b/src/main.js index 27f9e402..41265928 100644 --- a/src/main.js +++ b/src/main.js @@ -138,7 +138,7 @@ library.add(faStarSolid) Vue.component('icon', FontAwesomeIcon) -Vue.use(vueShortkey) +Vue.use(vueShortkey, { prevent: ['input', 'textarea', '.input'] }) import focus from '@/directives/focus' Vue.directive('focus', focus) diff --git a/src/views/tasks/TaskDetailView.vue b/src/views/tasks/TaskDetailView.vue index eac343a7..f0db72b2 100644 --- a/src/views/tasks/TaskDetailView.vue +++ b/src/views/tasks/TaskDetailView.vue @@ -271,7 +271,7 @@ @click="setFieldActive('assignees')" @shortkey="setFieldActive('assignees')" class="button" - v-shortkey="['ctrl', 'shift', 'a']"> + v-shortkey="['a']">