diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-12 18:27:00 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-12 18:27:00 +0900 |
| commit | 171dd848daaf837750b451fd7a228bd0147fae7c (patch) | |
| tree | d961f81ce0ab8f2ac7fec638c843ce6988ceef32 /src/web | |
| parent | v3038 (diff) | |
| download | misskey-171dd848daaf837750b451fd7a228bd0147fae7c.tar.gz misskey-171dd848daaf837750b451fd7a228bd0147fae7c.tar.bz2 misskey-171dd848daaf837750b451fd7a228bd0147fae7c.zip | |
Fix bug
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/desktop/tags/home-widgets/post-form.tag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/desktop/tags/home-widgets/post-form.tag b/src/web/app/desktop/tags/home-widgets/post-form.tag index 2aa3cda502..d85db1d104 100644 --- a/src/web/app/desktop/tags/home-widgets/post-form.tag +++ b/src/web/app/desktop/tags/home-widgets/post-form.tag @@ -73,7 +73,7 @@ }; this.onkeydown = e => { - if (e.which == 10 || e.which == 13) this.post(); + if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey)) this.post(); }; this.post = () => { |