Fix #1957
This commit is contained in:
		| @@ -137,7 +137,9 @@ export default Vue.extend({ | ||||
| 		}, | ||||
|  | ||||
| 		canPost(): boolean { | ||||
| 			return !this.posting && (this.text.length != 0 || this.files.length != 0 || this.poll || this.renote); | ||||
| 			return !this.posting && | ||||
| 				(1 <= this.text.length || 1 <= this.files.length || this.poll || this.renote) && | ||||
| 				(this.text.length <= 1000); | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| @@ -307,8 +309,8 @@ export default Vue.extend({ | ||||
| 			}, err => { | ||||
| 				alert('エラー: ' + err.message); | ||||
| 			}, { | ||||
| 				enableHighAccuracy: true | ||||
| 			}); | ||||
| 					enableHighAccuracy: true | ||||
| 				}); | ||||
| 		}, | ||||
|  | ||||
| 		removeGeo() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aya Morisawa
					Aya Morisawa