Skip to content

Commit

Permalink
fix(api): Don't prevent behavior of all clicks
Browse files Browse the repository at this point in the history
Closes #71
  • Loading branch information
francoischalifour committed Aug 29, 2018
1 parent 95acef3 commit 71b46fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/medium-zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ const Promise =
*/
const mediumZoom = (selector, options = {}) => {
const _handleClick = event => {
event.preventDefault()

const { target } = event

if (target === overlay) {
Expand Down

0 comments on commit 71b46fa

Please sign in to comment.