Update timeline-post.tag
This commit is contained in:
		
							parent
							
								
									a44b5084e4
								
							
						
					
					
						commit
						d99056304a
					
				
					 1 changed files with 5 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -335,12 +335,11 @@
 | 
			
		|||
 | 
			
		||||
		this.repost = () => {
 | 
			
		||||
			const text = window.prompt(`「${this.summary}」をRepost`);
 | 
			
		||||
			if (text) {
 | 
			
		||||
				this.api('posts/create', {
 | 
			
		||||
					repost_id: this.p.id,
 | 
			
		||||
					text: text == '' ? undefined : text
 | 
			
		||||
				});
 | 
			
		||||
			}
 | 
			
		||||
			if (text == null) return;
 | 
			
		||||
			this.api('posts/create', {
 | 
			
		||||
				repost_id: this.p.id,
 | 
			
		||||
				text: text == '' ? undefined : text
 | 
			
		||||
			});
 | 
			
		||||
		};
 | 
			
		||||
 | 
			
		||||
		this.like = () => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue