mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
Update post-form.vue
This commit is contained in:
parent
c2ce9a72e9
commit
8f4730a12d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export default define({
|
|||
this.save();
|
||||
},
|
||||
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.posting && this.text) this.post();
|
||||
},
|
||||
post() {
|
||||
this.posting = true;
|
||||
|
|
Loading…
Reference in a new issue