Fix image captions in search results

This commit is contained in:
Alex Liebowitz 2016-04-25 06:58:40 -04:00
parent 1d4a259135
commit 54a125673e

View file

@ -115,7 +115,7 @@ var SearchResultRow = React.createClass({
return ( return (
<div className="row-fluid"> <div className="row-fluid">
<div className="span3"> <div className="span3">
<img src={this.props.imgUrl} alt="Photo for {this.props.title}" style={searchRowImgStyle} /> <img src={this.props.imgUrl} alt={'Photo for ' + (this.props.title || this.props.name)} style={searchRowImgStyle} />
</div> </div>
<div className="span9"> <div className="span9">
<span style={searchRowCostStyle}> <span style={searchRowCostStyle}>