From 0c70a13a3a8232aa34f2a2a0d8dbcdcd60114e27 Mon Sep 17 00:00:00 2001 From: steverusso Date: Mon, 25 Apr 2022 16:38:53 +0000 Subject: [PATCH] close the nav via 'going back' in the browser (#47) This PR makes it so that opening the nav used a hash in the browser's location. This way, we can program the 'back' action in the browser to close the nav. Haven't tested on mobile yet, might be a bit quirky. Co-authored-by: Steve Russo Reviewed-on: https://git.simplesystems.tech/simplesystems/website/pulls/47 Reviewed-by: jeff Co-authored-by: steverusso Co-committed-by: steverusso --- layouts/partials/js-global.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/partials/js-global.html b/layouts/partials/js-global.html index 4179e63..f880c53 100644 --- a/layouts/partials/js-global.html +++ b/layouts/partials/js-global.html @@ -1,11 +1,11 @@