This commit is contained in:
mileswolfallen2
2023-09-26 17:12:53 +00:00
committed by GitHub
parent b609658fde
commit 1b50ab7131
+11
View File
@@ -51,6 +51,17 @@
</div>
</div>
</form>
<script>
// Get the modal
var modal = document.getElementById('id01');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</head>
</html>