fix: topic overlay hide

pull/3813/head
Arik Chakma 2 years ago
parent ee55b0192b
commit 52219d4b27
  1. 4
      src/components/TopicOverlay/TopicOverlay.astro

@ -100,5 +100,9 @@ const { contentContributionLink } = Astro.props;
} else {
loginMarkDone?.classList.remove('hidden');
markDone?.classList.add('!hidden');
loginMarkDone?.addEventListener('click', () => {
// Close the overlay
document.getElementById('topic-overlay')?.classList.add('hidden');
});
}
</script>

Loading…
Cancel
Save