Move dropdown mouseover to correct location

Related to #496.
This commit is contained in:
Franz Liedke
2015-09-16 09:00:33 +02:00
parent ad060126ae
commit 9767bce1e3
2 changed files with 2 additions and 3 deletions

View File

@ -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);