From a4463f03e36d42454997d80561a44dd7dcaad74c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 18 May 2026 16:43:19 +0200 Subject: [PATCH] Close lightbox before navigating on tag/category link click Co-Authored-By: Claude Sonnet 4.6 --- assets/js/app.js | 1 + static/js/app.js | 1 + 2 files changed, 2 insertions(+) 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); });