Update 0BDFDB.plugin.js
This commit is contained in:
parent
0971007afe
commit
266a2f271e
|
@ -6325,8 +6325,8 @@ module.exports = (_ => {
|
||||||
|
|
||||||
InternalComponents.LibraryComponents.SettingsPanel = reactInitialized && class BDFDB_SettingsPanel extends LibraryModules.React.Component {
|
InternalComponents.LibraryComponents.SettingsPanel = reactInitialized && class BDFDB_SettingsPanel extends LibraryModules.React.Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
let panel = BDFDB.ReactUtils.findDOMNode(this);
|
let node = BDFDB.ReactUtils.findDOMNode(this);
|
||||||
if (panel) this.panel = panel;
|
if (node) this.node = node;
|
||||||
}
|
}
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
if (BDFDB.ObjectUtils.is(this.props.addon) && typeof this.props.addon.onSettingsClosed == "function") this.props.addon.onSettingsClosed();
|
if (BDFDB.ObjectUtils.is(this.props.addon) && typeof this.props.addon.onSettingsClosed == "function") this.props.addon.onSettingsClosed();
|
||||||
|
|
Loading…
Reference in New Issue