From cf072e2be0b7efb9c02826910febe57a7103b211 Mon Sep 17 00:00:00 2001 From: "Alex J. Best" Date: Mon, 18 Sep 2023 22:11:40 +0100 Subject: [PATCH] fix navbar break --- static/expand-nav.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/expand-nav.js b/static/expand-nav.js index 2b28a28..77547ff 100644 --- a/static/expand-nav.js +++ b/static/expand-nav.js @@ -15,9 +15,10 @@ document.querySelector('.navframe').addEventListener('load', function() { while (el) { el.open = true; el = el.parentNode.closest('details'); - }} - // seeing as we found the link we were looking for, stop - break; + } + // seeing as we found the link we were looking for, stop + break; + } } } });