Update BetterSearchPage.plugin.js

This commit is contained in:
Mirco Wittrien 2022-10-30 21:13:32 +01:00 committed by GitHub
parent 7b4f0cb135
commit 2925a74e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @name BetterSearchPage
* @author DevilBro
* @authorId 278543574059057154
* @version 1.2.1
* @version 1.2.2
* @description Adds some extra Controls to the Search Results Page
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -83,7 +83,7 @@ module.exports = (_ => {
getSettingsPanel (collapseStates = {}) {
let settingsPanel, settingsItems = [];
for (let key in general) settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, {
for (let key in this.defaults.general) settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, {
type: "Switch",
plugin: this,
keys: ["general", key],
@ -147,4 +147,4 @@ module.exports = (_ => {
}
};
})(window.BDFDB_Global.PluginUtils.buildPlugin(changeLog));
})();
})();