Development

This commit is contained in:
Matthew Grotke 2026-05-24 03:08:20 -04:00
parent efdc2c63f2
commit 14340a5321
2 changed files with 6 additions and 1 deletions

View file

@ -2620,7 +2620,8 @@ document.querySelectorAll('.pre-block[data-scroll-bottom]').forEach(function(el)
document.querySelectorAll('[data-reveal-card]').forEach(function(btn) {
btn.addEventListener('click', function() {
var card = document.getElementById(btn.dataset.revealCard);
if (card) card.style.display = card.style.display === 'none' ? '' : 'none';
if (!card) return;
if (card.style.display === 'none') { showCard(card); } else { card.style.display = 'none'; }
});
});
(function() {