Revert "fix: validate post's text with Ctrl+Enter on PC."

This reverts commit fac6868305.
This commit is contained in:
syuilo 2018-06-06 19:34:25 +09:00
parent dc58c9bd2f
commit 1201794bef
1 changed files with 1 additions and 1 deletions

View File

@ -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) {