Fix onerror handlers
This commit is contained in:
parent
e5099ce3b7
commit
ca09758210
|
@ -27,7 +27,7 @@ module.exports = React.createClass({
|
|||
render: function() {
|
||||
return (
|
||||
<img className="mx_MemberAvatar" src={this.state.imageUrl}
|
||||
onerror={this.onError}
|
||||
onError={this.onError}
|
||||
width={this.props.width} height={this.props.height} />
|
||||
);
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ module.exports = React.createClass({
|
|||
|
||||
render: function() {
|
||||
return (
|
||||
<img className="mx_RoomAvatar" src={this.state.imageUrl} onerror={this.onError}
|
||||
<img className="mx_RoomAvatar" src={this.state.imageUrl} onError={this.onError}
|
||||
width={this.props.width} height={this.props.height}
|
||||
/>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue