mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Revert against 8927ccb847
Apparently the lack of the `setDropdownState` function is what causes the page refresh to happen when clicking on a header notification…
This commit is contained in:
parent
15cf6498a8
commit
a020ed6a28
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user