Skip to content

Commit

Permalink
link working in intro
Browse files Browse the repository at this point in the history
  • Loading branch information
pvxx committed Nov 6, 2024
1 parent 71cc702 commit 4c478e5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,13 @@ $().ready(function() // {{{

$('#intro').on('click', function(event) // {{{
{
event.preventDefault();
// leave links working
if(event.target.tagName != 'A')
{
event.preventDefault();

$('#intro').hide();
$('#intro').hide();
}
}); // }}}

$('h1').on('click', function(event) // {{{
Expand Down

0 comments on commit 4c478e5

Please sign in to comment.