Skip to content

Commit

Permalink
fix(api): Don't prevent behavior of all clicks (#72)
Browse files Browse the repository at this point in the history
Closes #71
  • Loading branch information
francoischalifour authored Aug 29, 2018
1 parent 95acef3 commit 71eebf9
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 71eebf9

Please sign in to comment.