diff --git a/assets/js/app.js b/assets/js/app.js index 296172e..6af1409 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -442,6 +442,7 @@ // Skip anchor links if (a.href.includes('#')) return; e.preventDefault(); + if (lb && lb.dataset.open === 'true') lbClose(); navigate(a.href); }); diff --git a/static/js/app.js b/static/js/app.js index 296172e..6af1409 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -442,6 +442,7 @@ // Skip anchor links if (a.href.includes('#')) return; e.preventDefault(); + if (lb && lb.dataset.open === 'true') lbClose(); navigate(a.href); });