mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 15:03:17 +00:00
Merge pull request #1435 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
900a2577da
3 changed files with 5 additions and 0 deletions
BIN
public/js/compose.js
vendored
BIN
public/js/compose.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -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