Clicking on a collapsed toot just uncollapses it.
This commit is contained in:
		
							parent
							
								
									ab0e92d337
								
							
						
					
					
						commit
						92c404d703
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -153,8 +153,9 @@ class StatusUnextended extends ImmutablePureComponent {
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  handleClick = () => {
 | 
			
		||||
    const { status } = this.props;
 | 
			
		||||
    this.context.router.history.push(`/statuses/${status.getIn(['reblog', 'id'], status.get('id'))}`);
 | 
			
		||||
    const { status, isCollapsed } = this.props;
 | 
			
		||||
    if (isCollapsed) this.handleCollapsedClick();
 | 
			
		||||
    else this.context.router.history.push(`/statuses/${status.getIn(['reblog', 'id'], status.get('id'))}`);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  handleAccountClick = (e) => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue