From 4359d6dd4a2c093c1e72db5b5b3f2e6658107638 Mon Sep 17 00:00:00 2001 From: kfrn Date: Tue, 17 Dec 2019 22:49:06 +1300 Subject: [PATCH] Update 'show/hide recipes' (expand/collapse) functionality Previously, it would expand the recipe if currently collapsed, and vice versa. Now, if any recipes are currently expanded, it will collapse all; otherwise, all recipes will be expanded. The 'expand all' functionality is necessary for full-text searching. --- index.html | 2 +- js/js.js | 22 ++++++++++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index c193ca3..3cf4b3c 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@