Skip to content

Commit

Permalink
refactor: remove unnecessary file
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Mar 7, 2024
1 parent 4913372 commit 4eed907
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
10 changes: 10 additions & 0 deletions frontend/src/ts/event-handlers/footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as DB from "../db";
import * as Notifications from "../elements/notifications";
import { getCommandline } from "../utils/async-modules";
import * as SupportPopup from "../modals/support";
import { envConfig } from "../constants/env-config";

document
.querySelector("footer #commandLineButton")
Expand All @@ -13,6 +14,15 @@ document
});
});

document
.querySelector("footer .currentVersion")
?.addEventListener("click", (e) => {
const event = e as MouseEvent;
if (event.shiftKey) {
alert(envConfig.clientVersion);
}
});

document
.querySelector("footer .right .current-theme")
?.addEventListener("click", async (event) => {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import "./states/connection";
import "./test/tts";
import "./elements/fps-counter";
import "./controllers/profile-search-controller";
import "./version";
import { isDevEnvironment } from "./utils/misc";

function addToGlobal(items: Record<string, unknown>): void {
Expand Down
7 changes: 0 additions & 7 deletions frontend/src/ts/version.ts

This file was deleted.

0 comments on commit 4eed907

Please sign in to comment.