Merge pull request #1846 from matrix-org/dbkr/bind_onimageerror

Bind onImageError in constructor
pull/21833/head
Luke Barnard 2018-04-23 19:17:59 +01:00 committed by GitHub
commit 459454f559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ export default class extends React.Component {
super(props);
this.onAction = this.onAction.bind(this);
this.onImageError = this.onImageError.bind(this);
this.onImageEnter = this.onImageEnter.bind(this);
this.onImageLeave = this.onImageLeave.bind(this);
this.onClientSync = this.onClientSync.bind(this);