Skip to content

Commit

Permalink
Merge pull request #731 from meandmax/remove-not-needed-prevent-default
Browse files Browse the repository at this point in the history
fix: remove not needed preventDefault
  • Loading branch information
meandmax authored Apr 20, 2018
2 parents 32e67f1 + af75f13 commit c01ad30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lory.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export function lory (slider, opts) {
}

if (!isScrolling && touchOffset) {
event.preventDefault();
// event.preventDefault();
translate(position.x + delta.x, 0, null);
}

Expand Down

0 comments on commit c01ad30

Please sign in to comment.