This commit is contained in:
		
							parent
							
								
									886510d721
								
							
						
					
					
						commit
						f16cda51fb
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -139,7 +139,7 @@ export default Vue.extend({
 | 
				
			||||||
		canPost(): boolean {
 | 
							canPost(): boolean {
 | 
				
			||||||
			return !this.posting &&
 | 
								return !this.posting &&
 | 
				
			||||||
				(1 <= this.text.length || 1 <= this.files.length || this.poll || this.renote) &&
 | 
									(1 <= this.text.length || 1 <= this.files.length || this.poll || this.renote) &&
 | 
				
			||||||
				(this.text.length <= 1000);
 | 
									(this.text.trim().length <= 1000);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -134,7 +134,7 @@ export default Vue.extend({
 | 
				
			||||||
		canPost(): boolean {
 | 
							canPost(): boolean {
 | 
				
			||||||
			return !this.posting &&
 | 
								return !this.posting &&
 | 
				
			||||||
				(1 <= this.text.length || 1 <= this.files.length || this.poll || this.renote) &&
 | 
									(1 <= this.text.length || 1 <= this.files.length || this.poll || this.renote) &&
 | 
				
			||||||
				(this.text.length <= 1000);
 | 
									(this.text.trim().length <= 1000);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue