This commit is contained in:
syuilo 2018-06-06 19:22:48 +09:00
commit 9787da7240
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)) this.post();
if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey) && canPost) this.post();
},
onPaste(e) {