Remove shortkey for now

This commit is contained in:
Roman Cervantes 2019-10-07 14:58:21 -07:00
parent fb9b6163d1
commit 762d7550fc
4 changed files with 1 additions and 14 deletions

View file

@ -39,7 +39,6 @@
"vue-markdown": "^2.2.4",
"vue-raven": "^1.0.0",
"vue-router": "^3.0.1",
"vue-shortkey": "^3.1.7",
"vuedraggable": "^2.16.0",
"vuefire": "^1.4.5",
"vuex": "^3.0.1",

View file

@ -33,8 +33,6 @@
<div class="note-actions">
<button
class="info tag"
v-shortkey="['shift', 'c']"
@shortkey="reset"
@click="reset"
>
{{ $t('global.cancel') }}
@ -42,17 +40,13 @@
<button
class="error tag"
v-shortkey="['shift', 'del']"
@shortkey="deleteNote"
@click="deleteNote"
>
<i class="far fa-trash-alt" />
</button>
<button
class="success tag"
v-shortkey="['shift', 's']"
@shortkey="saveNote"
class="primary tag"
@click="saveNote"
:disabled="!localNote"
>
@ -64,8 +58,6 @@
<button
class="warning hollow"
v-shortkey="['ctrl', 'alt', 'n']"
@shortkey="addNote"
@click="addNote"
v-if="!hasNote && !editingNote"
>

View file

@ -6,7 +6,6 @@ import axios from 'axios';
import VueAnalytics from 'vue-analytics';
import Raven from 'raven-js';
import RavenVue from 'raven-js/plugins/vue';
import VueShortKey from 'vue-shortkey';
import App from './App';
import messages from './i18n/';
import store from './store/';
@ -26,7 +25,6 @@ Vue.use(VueAnalytics, { id: 'UA-120053966-1', router });
Vue.use(VueAxios, axios);
Vue.use(VueFire);
Vue.use(VueI18n);
Vue.use(VueShortKey, { prevent: ['input', 'textarea'] });
if (process.env.NODE_ENV !== 'development') {
Raven

View file

@ -32,8 +32,6 @@
<button
v-if="list.games.includes(game.id)"
class="error hollow"
v-shortkey="['del']"
@shortkey="removeGame"
@click="removeGame"
>
<i class="far fa-trash-alt delete-game" />