From ce4cf010e5e106ff22bddcc8ed2a4c1688352746 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 1 Mar 2020 16:52:39 +1000 Subject: [PATCH] actually add the JS file 0u0; --- script.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 script.js diff --git a/script.js b/script.js new file mode 100644 index 0000000..cbca9cd --- /dev/null +++ b/script.js @@ -0,0 +1,7 @@ +function dgel(id) { + return document.getElementById(id); +} + +function subrecipe_toggle(id) { + dgel(id).classList.toggle("open"); +}