go splitscreen at the first sign of an invite search

This commit is contained in:
Matthew Hodgson 2016-01-21 00:25:47 +00:00
parent deca90d0a7
commit 9ce4148925

View file

@ -104,7 +104,7 @@ var SearchableEntityList = React.createClass({
}
return (
<div className={ "mx_SearchableEntityList " + (this.state.results.length ? "mx_SearchableEntityList_expanded" : "") }>
<div className={ "mx_SearchableEntityList " + (this.state.query.length ? "mx_SearchableEntityList_expanded" : "") }>
{inputBox}
<GeminiScrollbar className="mx_SearchableEntityList_listWrapper">
<div autoshow={true} className="mx_SearchableEntityList_list">
@ -113,7 +113,7 @@ var SearchableEntityList = React.createClass({
})}
</div>
</GeminiScrollbar>
{ this.state.results.length ? <div className="mx_SearchableEntityList_hrWrapper"><hr/></div> : '' }
{ this.state.query.length ? <div className="mx_SearchableEntityList_hrWrapper"><hr/></div> : '' }
</div>
);
}