Skip to content

Commit

Permalink
embed fix
Browse files Browse the repository at this point in the history
  • Loading branch information
desafinadude committed Dec 3, 2024
1 parent 5ae9940 commit ee92ac0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions script2.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ document.addEventListener('DOMContentLoaded', function () {

}


// INIT SHOW CAPTIONS

document.querySelectorAll('.scrolly-section .scrolly-caption-box').forEach((caption) => {
caption.style.opacity = 1;
});

// MEDIA QUERIES

const mediaQuery = window.matchMedia('(max-width: 768px)');
Expand Down

0 comments on commit ee92ac0

Please sign in to comment.