stuff
This commit is contained in:
parent
2413479f97
commit
11dc07a0f6
|
@ -3518,9 +3518,9 @@ var BDFDB = {
|
|||
}));
|
||||
}
|
||||
}
|
||||
contentchildren = contentchildren.filter(n => n && BDFDB.ReactUtils.isValidElement(n));
|
||||
headerchildren = headerchildren.filter(n => n && BDFDB.ReactUtils.isValidElement(n));
|
||||
footerchildren = footerchildren.filter(n => n && BDFDB.ReactUtils.isValidElement(n));
|
||||
contentchildren = contentchildren.filter(n => n && (typeof n == "string" || BDFDB.ReactUtils.isValidElement(n)));
|
||||
headerchildren = headerchildren.filter(n => n && (typeof n == "string" || BDFDB.ReactUtils.isValidElement(n)));
|
||||
footerchildren = footerchildren.filter(n => n && (typeof n == "string" || BDFDB.ReactUtils.isValidElement(n)));
|
||||
if (contentchildren.length) {
|
||||
if (typeof config.onClose != "function") config.onClose = _ => {};
|
||||
if (typeof config.onOpen != "function") config.onOpen = _ => {};
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue