added .off() for dropdown hide event on LHS header
Этот коммит содержится в:
@@ -29,6 +29,8 @@ var NavbarDropdown = React.createClass({
|
|||||||
},
|
},
|
||||||
componentWillUnmount: function() {
|
componentWillUnmount: function() {
|
||||||
UserStore.removeTeamsChangeListener(this._onChange);
|
UserStore.removeTeamsChangeListener(this._onChange);
|
||||||
|
|
||||||
|
$(this.refs.dropdown.getDOMNode()).off('hide.bs.dropdown');
|
||||||
},
|
},
|
||||||
_onChange: function() {
|
_onChange: function() {
|
||||||
if (this.isMounted()) {
|
if (this.isMounted()) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user