Update BDFDB.js

This commit is contained in:
Mirco Wittrien 2020-01-30 14:34:57 +01:00
parent 2c599ebe0a
commit c5bee4dc46
1 changed files with 1 additions and 1 deletions

View File

@ -1406,7 +1406,7 @@
} }
}; };
InternalBDFDB.executeExtraPatchedPatches = function (type, e) { InternalBDFDB.executeExtraPatchedPatches = function (type, e) {
if (BDFDB.InternalData.patchMenuQueries[type] && BDFDB.ArrayUtils.is(BDFDB.InternalData.patchMenuQueries[type].query) for (let plugin of BDFDB.InternalData.patchMenuQueries[type].query) if (e.returnvalue && typeof plugin[`on${type}`] === "function") plugin[`on${type}`](e); if (BDFDB.InternalData.patchMenuQueries[type] && BDFDB.ArrayUtils.is(BDFDB.InternalData.patchMenuQueries[type].query)) for (let plugin of BDFDB.InternalData.patchMenuQueries[type].query) if (e.returnvalue && typeof plugin[`on${type}`] === "function") plugin[`on${type}`](e);
}; };
InternalBDFDB.patchPopoutPlugin = function (plugin, type, module) { InternalBDFDB.patchPopoutPlugin = function (plugin, type, module) {
if (module && module.prototype) { if (module && module.prototype) {