fix up scroll behaviour when loading widgets
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = React.createClass({
|
||||
// href for the highlights in this result
|
||||
resultLink: React.PropTypes.string,
|
||||
|
||||
onImageLoad: React.PropTypes.func,
|
||||
onWidgetLoad: React.PropTypes.func,
|
||||
},
|
||||
|
||||
render: function() {
|
||||
@@ -56,7 +56,7 @@ module.exports = React.createClass({
|
||||
if (EventTile.haveTileForEvent(ev)) {
|
||||
ret.push(<EventTile key={eventId+"+"+j} mxEvent={ev} contextual={contextual} highlights={highlights}
|
||||
highlightLink={this.props.resultLink}
|
||||
onImageLoad={this.props.onImageLoad} />);
|
||||
onWidgetLoad={this.props.onWidgetLoad} />);
|
||||
}
|
||||
}
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user