Close lightbox before navigating on tag/category link click
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -442,6 +442,7 @@
|
||||
// Skip anchor links
|
||||
if (a.href.includes('#')) return;
|
||||
e.preventDefault();
|
||||
if (lb && lb.dataset.open === 'true') lbClose();
|
||||
navigate(a.href);
|
||||
});
|
||||
|
||||
|
||||
@@ -442,6 +442,7 @@
|
||||
// Skip anchor links
|
||||
if (a.href.includes('#')) return;
|
||||
e.preventDefault();
|
||||
if (lb && lb.dataset.open === 'true') lbClose();
|
||||
navigate(a.href);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user