Skip to content

Commit 3324c15

Browse files
committed
feat/improve-lightbox-close
Signed-off-by: Zihan Kuang <[email protected]>
1 parent 62b823b commit 3324c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/image-modal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
};
5151
});
5252

53-
// New: Close modal when clicking anywhere inside #myModal
53+
// Close modal when clicking anywhere inside #myModal
5454
var modal = document.getElementById("myModal");
5555
modal.addEventListener("click", function () {
5656
closeModal();

0 commit comments

Comments
 (0)