diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-22 17:14:35 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-22 17:14:35 +0200 |
commit | 7be562965057dddd0719646c5bb7fb48574bb3a2 (patch) | |
tree | 60d42bb5a788952f870ead237e5ecc80a4c89727 /src-ui/src | |
parent | 3098602245cd31fbc184a6559b5f5ca95aaaa741 (diff) | |
download | FlightCore-7be562965057dddd0719646c5bb7fb48574bb3a2.tar.gz FlightCore-7be562965057dddd0719646c5bb7fb48574bb3a2.zip |
Remove left-over functions from original template
Diffstat (limited to 'src-ui/src')
-rw-r--r-- | src-ui/src/main.ts | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts index 00c89af7..3b47e6f4 100644 --- a/src-ui/src/main.ts +++ b/src-ui/src/main.ts @@ -90,9 +90,6 @@ async function manually_find_titanfall2_install(omniButtonEl: HTMLElement) { document.addEventListener("DOMContentLoaded", async function () { // get the elements - // const helloEl = $("div.hello")! as HTMLElement; - // let counterButtonEl = $("counter-button") as HTMLElement; - // let counterResultEl = $("counter-result") as HTMLElement; let pingEl = $("backend-ping")! as HTMLElement; let panicButtonEl = $("panic-button") as HTMLElement; let installLocationHolderEl = document.getElementById("install-location-holder") as HTMLInputElement; @@ -230,21 +227,6 @@ document.addEventListener("DOMContentLoaded", async function () { } }); - // // counter button click - // counterButtonEl.addEventListener("pointerup", async function () { - // const result = await invoke("add_count", { num: 1 }) as string; - // counterResultEl.textContent = result; - // }); - - // // hello click - // helloEl.addEventListener("pointerup", async function () { - // const result = await invoke("hello_world") as string; - // helloEl.textContent = result; - // setTimeout(function () { - // helloEl.textContent = "Click again"; - // }, 1000); - // }) - // panic button click panicButtonEl.addEventListener("pointerup", async function () { await invoke("force_panic"); |