diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-07-21 02:16:11 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-21 02:16:11 +0900 |
| commit | bc8bea11c06eca7d33860166db2dd91c034ea0fe (patch) | |
| tree | b1fbac3bcd3df272a148ff8acf67ff31196b785b /src/client/app/common | |
| parent | Merge pull request #1938 from acid-chicken/vscode (diff) | |
| parent | Update post-form.vue (diff) | |
| download | misskey-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.vue | 2 |
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(); } }, |