Add class to expand link for pointer and colour
This commit is contained in:
parent
e05aeb35a1
commit
b11dd9542f
1 changed files with 3 additions and 1 deletions
|
@ -184,7 +184,9 @@ module.exports = React.createClass({
|
|||
if (!fewEvents) {
|
||||
summary = this._renderSummary(joinEvents, leaveEvents);
|
||||
toggleButton = (
|
||||
<a onClick={this._toggleSummary}>{expanded?'collapse':'expand'}</a>
|
||||
<a className="mx_MemberEventListSummary_toggle" onClick={this._toggleSummary}>
|
||||
{expanded ? 'collapse' : 'expand'}
|
||||
</a>
|
||||
);
|
||||
let plural = (joinEvents.length + leaveEvents.length > 0) ? 'others' : 'users';
|
||||
let noun = (joinAndLeft === 1 ? 'user' : plural);
|
||||
|
|
Loading…
Reference in a new issue