louie-kyc #1

Merged
erwin merged 27 commits from louie-kyc into main 2024-04-19 10:33:46 +08:00
1 changed files with 7 additions and 8 deletions
Showing only changes of commit c9f8f1f0aa - Show all commits

View File

@ -192,10 +192,10 @@
}
}
var captionText = document.getElementById("captionText");
var modal = document.getElementById("myModal");
function trigger(var1, caption) {
var modal = document.getElementById("myModal");
var modalImg = document.getElementById("img01");
modal.style.display = "block";
@ -203,12 +203,11 @@
captionText.innerHTML = caption;
}
var span = document.getElementsByClassName("close")[0];
function closeModal() {
var modal = document.getElementById("myModal");
modal.style.display = "none";
// Close the modal when clicking outside the image
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<div class="modal fade" id="rejectModal" tabindex="-1" role="dialog" aria-labelledby="rejectModalLabel" aria-hidden="true">