mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 16:53:17 +00:00
Update Compose Modal
This commit is contained in:
parent
a2640af156
commit
e30799ac80
1 changed files with 5 additions and 0 deletions
|
@ -476,6 +476,11 @@ export default {
|
|||
return;
|
||||
}
|
||||
|
||||
if(this.composeText.length > this.config.uploader.max_caption_length) {
|
||||
swal('Error', 'Caption is too long', 'error');
|
||||
return;
|
||||
}
|
||||
|
||||
switch(state) {
|
||||
case 'publish' :
|
||||
if(this.media.length == 0) {
|
||||
|
|
Loading…
Reference in a new issue