diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-09-04 19:30:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-04 19:30:41 +0200 |
| commit | 975fb353dd7f5bec7bcb836f4ceb86fae9b70340 (patch) | |
| tree | ac910da9d9766582bec1eed873feabbb7b013259 /webAO/dom/onReplayGo.ts | |
| parent | d20994bd7c244cc84ab138cec441b05c261a83e4 (diff) | |
| parent | 31a97ce6009204316295fa4fd09749e2ff71dd7d (diff) | |
Merge pull request #164 from caleb-mabry/move-window-functions-pt-1
Several window functions moved
Diffstat (limited to 'webAO/dom/onReplayGo.ts')
| -rw-r--r-- | webAO/dom/onReplayGo.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webAO/dom/onReplayGo.ts b/webAO/dom/onReplayGo.ts new file mode 100644 index 0000000..c13a8e6 --- /dev/null +++ b/webAO/dom/onReplayGo.ts @@ -0,0 +1,9 @@ +import { client } from "../client"; +/** + * Triggered when the user click replay GOOOOO + * @param {KeyboardEvent} event + */ + export function onReplayGo(_event: Event) { + client.handleReplay(); + } + window.onReplayGo = onReplayGo;
\ No newline at end of file |
