mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
chore: remove unnecessary event handler
This commit is contained in:
parent
705c984c6d
commit
e1878b91d2
1 changed files with 0 additions and 6 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue