From 4ef163b5dd8655aa2e512d45eec49d60a6047e57 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 6 Nov 2020 16:32:34 +0100 Subject: [PATCH] stuff --- Library/_res/BDFDB.data.json | 2 -- Plugins/ThemeSettings/ThemeSettings.plugin.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Library/_res/BDFDB.data.json b/Library/_res/BDFDB.data.json index 2c4a3ddc0d..96a0035ab5 100644 --- a/Library/_res/BDFDB.data.json +++ b/Library/_res/BDFDB.data.json @@ -430,7 +430,6 @@ "userInfoDate": "date-YN6TCS" }, "BDrepo": { - "bdAddonButton": "bd-button bd-addon-button", "bdAddonCard": "bd-addon-card", "bdAddonModal": "bd-addon-modal", "bdButton": "bd-button", @@ -1048,7 +1047,6 @@ "_repoauthor": ["BDrepo", "bdaAuthor"], "_repobutton": ["BDrepo", "bdButton"], "_repocard": ["BDrepo", "bdAddonCard"], - "_repocardbutton": ["BDrepo", "bdAddonButton"], "_repocheckbox": ["BDrepo", "switchCheckbox"], "_repocheckboxchecked": ["BDrepo", "switchChecked"], "_repocheckboxinner": ["BDrepo", "switch"], diff --git a/Plugins/ThemeSettings/ThemeSettings.plugin.js b/Plugins/ThemeSettings/ThemeSettings.plugin.js index 4caafdc13d..67c1377de5 100644 --- a/Plugins/ThemeSettings/ThemeSettings.plugin.js +++ b/Plugins/ThemeSettings/ThemeSettings.plugin.js @@ -91,7 +91,7 @@ module.exports = (_ => { let settingsButton = document.createElement("button"); let controls = footer.querySelector("." + BDFDB.disCN._repocontrols.split(" ")[0]); if (controls) { - settingsButton.className = BDFDB.DOMUtils.formatClassName(BDFDB.disCN._repocardbutton, "theme-settings-button"); + settingsButton.className = BDFDB.DOMUtils.formatClassName(BDFDB.disCN._repobutton, BDFDB.disCN._repocontrolsbutton, "theme-settings-button"); settingsButton.appendChild(BDFDB.DOMUtils.create(`