From 171dd848daaf837750b451fd7a228bd0147fae7c Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Nov 2017 18:27:00 +0900 Subject: [PATCH] Fix bug --- src/web/app/desktop/tags/home-widgets/post-form.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => {