1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-29 23:38:55 +09:00

Update post-form.vue

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-07-21 02:06:49 +09:00 committed by GitHub
parent 29b1aa0d9b
commit 69593994ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,7 +244,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) && this.canPost) this.post();
},
onPaste(e) {