Add reblog txt condition
This commit is contained in:
		
							parent
							
								
									93edb9847e
								
							
						
					
					
						commit
						238892360e
					
				| @ -51,7 +51,7 @@ MastodonApi.prototype.getToots = function () { | |||||||
| 	}) | 	}) | ||||||
| 		.then(response => response.json()) | 		.then(response => response.json()) | ||||||
| 		.then(jsonData => { | 		.then(jsonData => { | ||||||
| 		// console.log('jsonData: ', jsonData);
 | 			console.log('jsonData: ', jsonData); | ||||||
| 
 | 
 | ||||||
| 			// Clear the loading message
 | 			// Clear the loading message
 | ||||||
| 			this.mtBodyContainer.innerHTML = ''; | 			this.mtBodyContainer.innerHTML = ''; | ||||||
| @ -139,6 +139,11 @@ MastodonApi.prototype.getToots = function () { | |||||||
| 				+ status_.spoiler_text | 				+ status_.spoiler_text | ||||||
| 				+ ' [Show more...]' | 				+ ' [Show more...]' | ||||||
| 				+ '</div>'; | 				+ '</div>'; | ||||||
|  | 		} else if (status_.reblog && status_.reblog.content != '') { | ||||||
|  | 			content = | ||||||
|  | 				'<div class="toot-text">' | ||||||
|  | 				+ status_.reblog.content | ||||||
|  | 				+ '</div>'; | ||||||
| 		} else { | 		} else { | ||||||
| 			content = | 			content = | ||||||
| 				'<div class="toot-text">' | 				'<div class="toot-text">' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 idotj
						idotj