Skip to content

Commit

Permalink
Update popup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PrAyAg9 authored Oct 17, 2024
1 parent 902ade2 commit b3bc195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ document.getElementById('emailForm').addEventListener('submit', function(event)
}
});

// Handle "No thanks" link
document.querySelector('.no-thanks').addEventListener('click', function(event) {
// Handlling "No thanks" button
document.getElementById('no-thanks').addEventListener('click', function(event) {
event.preventDefault();
document.getElementById('popup').style.display = 'none';
});

0 comments on commit b3bc195

Please sign in to comment.