diff options
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"); |