diff options
| author | Matthew Kosarek <mattkae@protonmail.com> | 2021-05-16 19:50:15 -0400 |
|---|---|---|
| committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-05-16 19:50:15 -0400 |
| commit | a00c0aab1eb5a7a55bef8ca08115bdd722ab5699 (patch) | |
| tree | 45b5c4cc8c380d0630a8e0185af7229f26dc754a /_wasm/intro/intro.js | |
| parent | 4941a1874b6ca9d142d94df70b2aec5e0b35b94e (diff) | |
Moved the frontend directory up so that it no longer exists
Diffstat (limited to '_wasm/intro/intro.js')
| -rw-r--r-- | _wasm/intro/intro.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/_wasm/intro/intro.js b/_wasm/intro/intro.js new file mode 100644 index 0000000..37d5faf --- /dev/null +++ b/_wasm/intro/intro.js @@ -0,0 +1,19 @@ +/// <reference path="../scripts/jquery-3.5.1.min.js"/> + +(function() { + + function main() { + $('#wasm_canvas_play_button').on('click', function() { + $(this).hide(); + $("#wasm_canvas_stop_button").show(); + }); + + $('#wasm_canvas_stop_button').on('click', function() { + $(this).hide(); + $("#wasm_canvas_play_button").show(); + }); + } + + $(document).ready(main); + +})() |
