Update BDFDB.max.js

This commit is contained in:
Mirco Wittrien 2019-09-08 22:35:59 +02:00
parent 6e7964ac00
commit e8b44cbbb8
1 changed files with 1 additions and 1 deletions

View File

@ -1644,7 +1644,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
}});
}
for (let type of FluxContextMenus) {
let module = BDFDB.WebModules.patch(BDFDB.WebModules.findByName('FluxContainer(' + type + 'ContextMenu)');
let module = BDFDB.WebModules.findByName('FluxContainer(' + type + 'ContextMenu)');
if (module) BDFDB.WebModules.patch(module.prototype, 'componentDidUpdate', BDFDB, {after: e => {
const updater = BDFDB.getReactValue(e, 'thisObject._reactInternalFiber.stateNode.props.onHeightUpdate');
if (updater) updater();