Skip to content

Commit

Permalink
Add missing catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
Ju1-js authored Sep 23, 2023
1 parent ed94ced commit bd5d056
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,10 @@ <h2 class="post-title">An Untitled Goose Game</h2>

function interaction(event) {
try {
cookieConsent.classList.add('hidden');
cookieConsent.classList.add('hidden');
}
catch {
// Do nothing xD
}
playVideo("assets/videos/Rick-Astley-Never-Gonna-Give-You-Up-1080p60-60fps.mp4", 'video/mp4');
videojs('video-player1', {}, function() {
Expand Down

0 comments on commit bd5d056

Please sign in to comment.