...
 
Commits (3)
...@@ -169,9 +169,7 @@ const PostStatusForm = { ...@@ -169,9 +169,7 @@ const PostStatusForm = {
if (this.submitDisabled) { return } if (this.submitDisabled) { return }
if (this.newStatus.status === '') { if (this.newStatus.status === '') {
if (this.newStatus.files.length > 0) { if (this.newStatus.files.length === 0) {
this.newStatus.status = '\u200b' // hack
} else {
this.error = 'Cannot post an empty status with no files' this.error = 'Cannot post an empty status with no files'
return return
} }
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
:key="src" :key="src"
:src="src" :src="src"
:referrerpolicy="referrerpolicy" :referrerpolicy="referrerpolicy"
loading="lazy"
@load="onLoad" @load="onLoad"
@error="onError" @error="onError"
> >
......