This commit is contained in:
Mirco Wittrien 2020-08-21 16:21:12 +02:00
parent c95ab078ea
commit 0ff4ab7e40
4 changed files with 14 additions and 5 deletions

View File

@ -113,7 +113,9 @@ var GoogleTranslateOption = (_ => {
}
// Legacy
load () {}
load () {
if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) BDFDB.PluginUtils.load(this);
}
start () {
if (!window.BDFDB) window.BDFDB = {myPlugins:{}};

View File

@ -487,8 +487,10 @@ var PluginRepo = (_ => {
return settingsPanel = BDFDB.PluginUtils.createSettingsPanel(this, settingsItems);
}
// Legacy
load () {}
// Legacy
load () {
if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) BDFDB.PluginUtils.load(this);
}
start () {
if (!window.BDFDB) window.BDFDB = {myPlugins:{}};

View File

@ -780,7 +780,9 @@ var ThemeRepo = (_ => {
}
// Legacy
load () {}
load () {
if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) BDFDB.PluginUtils.load(this);
}
start () {
if (!window.BDFDB) window.BDFDB = {myPlugins:{}};

View File

@ -23,7 +23,10 @@ var WriteUpperCase = (_ => {
};
}
load () {}
// Legacy
load () {
if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) BDFDB.PluginUtils.load(this);
}
start () {
if (!window.BDFDB) window.BDFDB = {myPlugins:{}};