Skip to content

Commit

Permalink
Update javascript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fdgh134 committed Jun 10, 2024
1 parent 16f14a1 commit 9b08090
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $(function(){
}

var welcomeSection = $('.welcome-section'),
enterButton = welcomeSection.find('.content-wrap');
enterButton = welcomeSection.find('.content-wrap');

if (!getCookie("visited")) {

Expand Down Expand Up @@ -123,9 +123,12 @@ $(function(){
});
});
$('.wrap').removeClass("content-hidden");

setCookie("visited", "true", 1);
});
} else {
welcomeSection.remove();
$('.wrapper').css('display', 'block');
}
});

Expand Down

0 comments on commit 9b08090

Please sign in to comment.