diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2018-07-21 02:14:24 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-21 02:14:24 +0900 |
| commit | 9bb02e5bf630377a3827b78641ff76934072a17d (patch) | |
| tree | b1fbac3bcd3df272a148ff8acf67ff31196b785b /src/client | |
| parent | Update messaging-room.form.vue (diff) | |
| download | misskey-9bb02e5bf630377a3827b78641ff76934072a17d.tar.gz misskey-9bb02e5bf630377a3827b78641ff76934072a17d.tar.bz2 misskey-9bb02e5bf630377a3827b78641ff76934072a17d.zip | |
Update post-form.vue
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/desktop/views/widgets/post-form.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/widgets/post-form.vue b/src/client/app/desktop/views/widgets/post-form.vue index 3c4ade0e81..618d19efc4 100644 --- a/src/client/app/desktop/views/widgets/post-form.vue +++ b/src/client/app/desktop/views/widgets/post-form.vue @@ -45,7 +45,7 @@ export default define({ this.save(); }, onKeydown(e) { - if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey)) this.post(); + if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey) && !this.posting && this.text) this.post(); }, post() { this.posting = true; |