From 0ac1f49c5182e6405819a6b32222c5a0f4a8da69 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 6 Jun 2018 19:34:25 +0900 Subject: [PATCH] Revert "fix: validate post's text with Ctrl+Enter on PC." This reverts commit fac686830584b572710f39f6b29cef71dc015e29. --- src/client/app/desktop/views/components/post-form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index ac9b7bced..7b2adfe70 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -209,7 +209,7 @@ export default Vue.extend({ }, onKeydown(e) { - if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey) && canPost) this.post(); + if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey)) this.post(); }, onPaste(e) {