Fix the Open handler for PreviewCard (#15305)
This commit is contained in:
		
							parent
							
								
									0b437325dc
								
							
						
					
					
						commit
						765626a3a7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -432,7 +432,7 @@ class Status extends ImmutablePureComponent {
 | 
				
			||||||
    } else if (status.get('spoiler_text').length === 0 && status.get('card')) {
 | 
					    } else if (status.get('spoiler_text').length === 0 && status.get('card')) {
 | 
				
			||||||
      media = (
 | 
					      media = (
 | 
				
			||||||
        <Card
 | 
					        <Card
 | 
				
			||||||
          onOpenMedia={this.props.onOpenMedia}
 | 
					          onOpenMedia={this.handleOpenMedia}
 | 
				
			||||||
          card={status.get('card')}
 | 
					          card={status.get('card')}
 | 
				
			||||||
          compact
 | 
					          compact
 | 
				
			||||||
          cacheWidth={this.props.cacheMediaWidth}
 | 
					          cacheWidth={this.props.cacheMediaWidth}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue