From 3dae20ba9c8160114779c8096e8df3d83d9102a5 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 30 Jan 2020 23:55:07 +0100 Subject: [PATCH] Update BDFDB.js --- Plugins/BDFDB.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index 6e7ac08507..45464dbf9b 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -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) {