summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-07-21 02:16:11 +0900
committerGitHub <noreply@github.com>2018-07-21 02:16:11 +0900
commitbc8bea11c06eca7d33860166db2dd91c034ea0fe (patch)
treeb1fbac3bcd3df272a148ff8acf67ff31196b785b /src/client/app/common
parentMerge pull request #1938 from acid-chicken/vscode (diff)
parentUpdate post-form.vue (diff)
downloadmisskey-bc8bea11c06eca7d33860166db2dd91c034ea0fe.tar.gz
misskey-bc8bea11c06eca7d33860166db2dd91c034ea0fe.tar.bz2
misskey-bc8bea11c06eca7d33860166db2dd91c034ea0fe.zip
Merge pull request #1940 from acid-chicken/acid-chicken-patch-1
投稿できない際にショートカットキーをトリガーしないようにする
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/views/components/messaging-room.form.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/messaging-room.form.vue b/src/client/app/common/views/components/messaging-room.form.vue
index 050906cf44..b6ca902660 100644
--- a/src/client/app/common/views/components/messaging-room.form.vue
+++ b/src/client/app/common/views/components/messaging-room.form.vue
@@ -119,7 +119,7 @@ export default Vue.extend({
},
onKeypress(e) {
- if ((e.which == 10 || e.which == 13) && e.ctrlKey) {
+ if ((e.which == 10 || e.which == 13) && e.ctrlKey && this.canSend) {
this.send();
}
},