chore: remove unnecessary event handler

This commit is contained in:
Miodec 2024-03-12 15:28:15 +01:00
parent 705c984c6d
commit e1878b91d2

View file

@ -4,7 +4,6 @@ import * as Misc from "../utils/misc";
import * as Notifications from "../elements/notifications";
import * as ThemeColors from "../elements/theme-colors";
import * as ChartController from "../controllers/chart-controller";
import * as ShareCustomThemePopup from "../modals/share-custom-theme";
import * as Loader from "../elements/loader";
import * as DB from "../db";
import * as ConfigEvent from "../observables/config-event";
@ -457,11 +456,6 @@ $(".pageSettings #loadCustomColorsFromPreset").on("click", async () => {
// }, 250);
});
// Handles click on share custom theme button
$("#shareCustomThemeButton").on("click", () => {
ShareCustomThemePopup.show();
});
$(".pageSettings #saveCustomThemeButton").on("click", async () => {
saveCustomThemeColors();
if (isAuthenticated()) {