1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 00:35:59 +00:00

Update Compose Modal

This commit is contained in:
Daniel Supernault 2019-06-19 02:54:21 -06:00
parent a2640af156
commit e30799ac80
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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) {