Revert "Merge pull request #3019 from matrix-org/travis/sr/fix-timeline"

This reverts commit 9a1a9825b0, reversing
changes made to 62dc83310a.
This commit is contained in:
J. Ryan Stinnett 2019-05-28 12:19:35 +01:00
parent e1d1c8f99c
commit f0d67e0454
5 changed files with 10 additions and 76 deletions

View file

@ -45,18 +45,12 @@ class FlairAvatar extends React.Component {
const tooltip = this.props.groupProfile.name ?
`${this.props.groupProfile.name} (${this.props.groupProfile.groupId})`:
this.props.groupProfile.groupId;
// Note: we hide flair from screen readers but ideally we'd support
// reading something out on hover. There's no easy way to do this though,
// so instead we just hide it completely.
return <img
src={httpUrl}
width="16"
height="16"
onClick={this.onClick}
title={tooltip}
aria-hidden={true}
/>;
title={tooltip} />;
}
}