diff --git a/index.html b/index.html index 42ac328..4987979 100644 --- a/index.html +++ b/index.html @@ -97,15 +97,16 @@

+ // Close popup when close button is clicked + document.getElementById('popup-close').addEventListener('click', function(event) { + event.preventDefault(); // Prevent the default behavior of the anchor tag + document.getElementById('qr-popup').style.display = 'none'; + }); +