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

This reverts commit fac686830584b572710f39f6b29cef71dc015e29.
This commit is contained in:
syuilo 2018-06-06 19:34:25 +09:00
parent 4d58a86b4b
commit 0ac1f49c51

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