Close lightbox before navigating on tag/category link click

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 16:43:19 +02:00
parent e46baf497b
commit a4463f03e3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -442,6 +442,7 @@
// Skip anchor links
if (a.href.includes('#')) return;
e.preventDefault();
if (lb && lb.dataset.open === 'true') lbClose();
navigate(a.href);
});