1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 17:51:24 +02:00

Always use label as tooltip for header icons

Closes #496.
This commit is contained in:
Franz Liedke
2015-09-16 08:45:45 +02:00
parent 63911efbcc
commit 91a31e0149

View File

@@ -32,7 +32,9 @@ export default class Dropdown extends Component {
const items = this.props.children ? listItems(this.props.children) : [];
return (
<div className={'ButtonGroup Dropdown dropdown ' + this.props.className + ' itemCount' + items.length}>
<div
title={this.props.label}
className={'ButtonGroup Dropdown dropdown ' + this.props.className + ' itemCount' + items.length}>
{this.getButton()}
{this.getMenu(items)}
</div>