fix up scroll behaviour when loading widgets
This commit is contained in:
parent
62d04c38ef
commit
4388334e30
8 changed files with 55 additions and 44 deletions
|
@ -39,7 +39,7 @@ module.exports = React.createClass({
|
|||
highlightLink: React.PropTypes.string,
|
||||
|
||||
/* callback called when images in events are loaded */
|
||||
onImageLoad: React.PropTypes.func,
|
||||
onWidgetLoad: React.PropTypes.func,
|
||||
},
|
||||
|
||||
|
||||
|
@ -64,6 +64,6 @@ module.exports = React.createClass({
|
|||
|
||||
return <TileType mxEvent={this.props.mxEvent} highlights={this.props.highlights}
|
||||
highlightLink={this.props.highlightLink}
|
||||
onImageLoad={this.props.onImageLoad} />;
|
||||
onWidgetLoad={this.props.onWidgetLoad} />;
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue