You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
move closer to usage
This commit is contained in:
@@ -309,7 +309,6 @@ const RoomSubList = React.createClass({
|
||||
);
|
||||
}
|
||||
|
||||
const tabindex = this.props.searchFilter === "" ? "0" : "-1";
|
||||
const len = this.state.sortedList.length + this.props.extraTiles.length;
|
||||
let chevron;
|
||||
if (len) {
|
||||
@@ -321,6 +320,7 @@ const RoomSubList = React.createClass({
|
||||
chevron = (<div className={chevronClasses}></div>);
|
||||
}
|
||||
|
||||
const tabindex = this.props.searchFilter === "" ? "0" : "-1";
|
||||
return (
|
||||
<div className="mx_RoomSubList_labelContainer" title={ title } ref="header">
|
||||
<AccessibleButton onClick={ this.onClick } className="mx_RoomSubList_label" tabIndex={tabindex}>
|
||||
|
||||
Reference in New Issue
Block a user