Skip to content

Commit 02ccb99

Browse files
authored
Merge pull request #409 from Codeinwp/fix/popup
fix: remove event stop propagation for outside click checking
2 parents 2d5672e + 1d7873b commit 02ccb99

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

js/ppom-simple-popup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@
151151
if (!$(e.target).closest('.ppom-enquiry-modal, .ppom-popup-product-edit-modal').length) {
152152
modal.trigger(prefix + ':close');
153153
}
154-
e.preventDefault();
155154
});
156155

157156
// disable backgroundclickevent close

0 commit comments

Comments
 (0)