Update BDFDB.js

This commit is contained in:
Mirco Wittrien 2020-01-30 23:55:07 +01:00
parent d5a768de3c
commit 3dae20ba9c
1 changed files with 1 additions and 1 deletions

View File

@ -1359,7 +1359,7 @@
};
InternalBDFDB.isInstanceCorrect = function (instance, name) {
return instance && ((instance.type && (instance.type.render && instance.type.render.displayName === name || instance.type.displayName === name || instance.type.name === name || instance.type === name)) || instance.render && instance.render.displayName === name);
return instance && ((instance.type && (instance.type.render && instance.type.render.displayName === name || instance.type.displayName === name || instance.type.name === name || instance.type === name)) || instance.render && (instance.render.displayName === name || instance.render.name === name) || instance.displayName == name || instance.name === name);
};
InternalBDFDB.addContextListeners = function (plugin) {