mirror of https://github.com/vector-im/riot-web
Fix onerror handlers
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