diff --git a/lms/static/js/demographics_collection/MultiselectDropdown.jsx b/lms/static/js/demographics_collection/MultiselectDropdown.jsx index 62cbbacba1..42aa6a1dd0 100644 --- a/lms/static/js/demographics_collection/MultiselectDropdown.jsx +++ b/lms/static/js/demographics_collection/MultiselectDropdown.jsx @@ -134,20 +134,18 @@ class MultiselectDropdown extends React.Component { // essentially what this if statement is saying: // if the newly focused target is NOT a child of the this element, THEN fire the onBlur function // and close the dropdown. - if(!e.currentTarget.contains(e.relatedTarget)) { + if (!e.currentTarget.contains(e.relatedTarget)) { this.props.onBlur(e); - this.setState({open: false}) + this.setState({ open: false }) } }} > -