From a00c0aab1eb5a7a55bef8ca08115bdd722ab5699 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Sun, 16 May 2021 19:50:15 -0400 Subject: Moved the frontend directory up so that it no longer exists --- _wasm/intro/intro.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 _wasm/intro/intro.js (limited to '_wasm/intro/intro.js') 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 @@ +/// + +(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); + +})() -- cgit v1.2.1