Added tooltips

This commit is contained in:
2019-06-10 15:24:35 +10:00
parent c01fbcd565
commit ce145ec9f3
+1 -1
View File
@@ -17,7 +17,7 @@ class Badge extends React.Component {
let realSize = typeof(this.props.size) === 'number' ? this.props.number : this.parseSize(this.props.size);
return (
<img {...this.props} src={`/img/badges/${this.props.filename}`} alt={this.props.name} width={realSize} height={realSize} style={{ minWidth: realSize, minHeight: realSize }} />
<img {...this.props} src={`/img/badges/${this.props.filename}`} alt={this.props.name} title={this.props.name} width={realSize} height={realSize} style={{ minWidth: realSize, minHeight: realSize }} />
);
}