diff --git a/js/forum/src/components/NotificationsDropdown.js b/js/forum/src/components/NotificationsDropdown.js index b55582915..68b92b8ff 100644 --- a/js/forum/src/components/NotificationsDropdown.js +++ b/js/forum/src/components/NotificationsDropdown.js @@ -30,6 +30,7 @@ export default class NotificationsDropdown extends Dropdown { const unread = this.getUnreadCount(); const vdom = super.getButton(); + vdom.attrs.title = this.props.label; vdom.attrs.className += (unread ? ' unread' : ''); vdom.attrs.onclick = this.onclick.bind(this); diff --git a/js/lib/components/Dropdown.js b/js/lib/components/Dropdown.js index 977d47df1..2320190a3 100644 --- a/js/lib/components/Dropdown.js +++ b/js/lib/components/Dropdown.js @@ -32,9 +32,7 @@ export default class Dropdown extends Component { const items = this.props.children ? listItems(this.props.children) : []; return ( -
+
{this.getButton()} {this.getMenu(items)}