Fix onerror handlers

healthdemo
David Baker 2015-08-14 10:31:45 +01:00
parent e5099ce3b7
commit ca09758210
2 changed files with 2 additions and 2 deletions

View File

@ -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} />
);
}

View File

@ -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}
/>
);