diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-06-06 19:34:25 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-06-06 19:34:25 +0900 |
| commit | 1201794befc3aa52091f9a388a581219333d317d (patch) | |
| tree | afc8ace53c37ffad8c1516a8a1fdada8050d2c5b /src | |
| parent | 2.27.0 (diff) | |
| download | misskey-1201794befc3aa52091f9a388a581219333d317d.tar.gz misskey-1201794befc3aa52091f9a388a581219333d317d.tar.bz2 misskey-1201794befc3aa52091f9a388a581219333d317d.zip | |
Revert "fix: validate post's text with Ctrl+Enter on PC."
This reverts commit fac686830584b572710f39f6b29cef71dc015e29.
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/desktop/views/components/post-form.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index ac9b7bcede..7b2adfe707 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) { |