diff --git a/js/components/header_notification.js b/js/components/header_notification.js index 84b71177..fe50e150 100644 --- a/js/components/header_notification.js +++ b/js/components/header_notification.js @@ -55,11 +55,7 @@ let HeaderNotifications = React.createClass({ NOW, THAT DIDN'T WORK - the onSelect routine isnt triggered in all cases Hence, we do this manually */ - const { dropdownButton } = this.refs; - - if (dropdownButton && typeof dropdownButton.setDropdownState === 'function') { - dropdownbutton.setDropdownState(false); - } + this.refs.dropdownbutton.setDropdownState(false); }, getPieceNotifications() {