This commit is contained in:
Mirco Wittrien 2019-10-17 21:27:36 +02:00
parent f7b70b155b
commit 6d063cd44a
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1603,7 +1603,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
type = type[0].toUpperCase() + type.slice(1);
if (typeof plugin['process' + type] == 'function') {
var wrapper = BDFDB.React.findDOMNode(instance);
if (wrapper) plugin['process' + type](instance, wrapper, returnvalue, methodnames);
if (wrapper || methodnames.includes('render')) plugin['process' + type](instance, wrapper || document.createElement('div'), returnvalue, methodnames);
else setImmediate(() => {
wrapper = BDFDB.React.findDOMNode(instance);
if (wrapper) plugin['process' + type](instance, wrapper, returnvalue, methodnames);