Skip to content

Commit c7bb50f

Browse files
authored
Update jQuery.leanModal2.js
1 parent 85b30a4 commit c7bb50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jQuery.leanModal2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
// Close the modal when someone clicks on the overlay,
9999
// except when `disableCloseOnOverlayClick` is set to `true`
100100
if ( !options.disableCloseOnOverlayClick ) {
101-
$('#js-leanmodal-overlay').click(function() {
101+
$('#js-leanmodal-overlay').click(function(e) {
102102
if ( e.target == this ) {
103103
leanModal_Close(modal_id)
104104
}

0 commit comments

Comments
 (0)