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; + } } } });