Skip to content

Commit

Permalink
Resolve #538
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Jan 3, 2020
1 parent 706b065 commit eaedf94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/app/desktop/views/components/post-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ export default Vue.extend({
},
doPreview() {
if (!this.canPost) {
if (!this.canPost || this.text.length > 1000) {
this.preview = null;
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/client/app/mobile/views/components/post-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export default Vue.extend({
},
doPreview() {
if (!this.canPost) {
if (!this.canPost || this.text.length > 1000) {
this.preview = null;
return;
}
Expand Down

0 comments on commit eaedf94

Please sign in to comment.