From 71eebf90f09a81c013731871b8cab92a4243a557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Wed, 29 Aug 2018 16:48:08 +0200 Subject: [PATCH] fix(api): Don't prevent behavior of all clicks (#72) Closes #71 --- src/medium-zoom.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/medium-zoom.js b/src/medium-zoom.js index c90fe15..a2f32f6 100644 --- a/src/medium-zoom.js +++ b/src/medium-zoom.js @@ -122,8 +122,6 @@ const Promise = */ const mediumZoom = (selector, options = {}) => { const _handleClick = event => { - event.preventDefault() - const { target } = event if (target === overlay) {