This commit is contained in:
syuilo 2018-06-06 19:22:48 +09:00
commit 9787da7240

View file

@ -209,7 +209,7 @@ export default Vue.extend({
}, },
onKeydown(e) { 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) { onPaste(e) {