mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
Backed out changeset fc5c57e9b65b (bug 1484595) for linting failure on a CLOSED TREE
This commit is contained in:
parent
e49362f677
commit
1272692819
1 changed files with 1 additions and 1 deletions
|
|
@ -126,8 +126,8 @@ class MenuButton extends PureComponent {
|
||||||
// Mark the menu as closed since the onHidden callback may not be called in
|
// Mark the menu as closed since the onHidden callback may not be called in
|
||||||
// this case.
|
// this case.
|
||||||
this.setState({ expanded: false });
|
this.setState({ expanded: false });
|
||||||
this.tooltip.off("hidden", this.onHidden);
|
|
||||||
this.tooltip.destroy();
|
this.tooltip.destroy();
|
||||||
|
this.tooltip.off("hidden", this.onHidden);
|
||||||
this.tooltip = null;
|
this.tooltip = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue