Merge pull request #1435 from pixelfed/frontend-ui-refactor

Frontend ui refactor
This commit is contained in:
daniel 2019-06-19 02:55:19 -06:00 committed by GitHub
commit 900a2577da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

BIN
public/js/compose.js vendored

Binary file not shown.

Binary file not shown.

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