Skip to content

Commit 05ded3c

Browse files
committed
Fix error
1 parent fa1db3b commit 05ded3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/gl2d/camera.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function createCamera(scene) {
7474

7575
ev.preventDefault();
7676
}, hasPassive ? {passive: false} : false);
77-
element.addEventListener('touchend', function() {
77+
element.addEventListener('touchend', function(ev) {
7878
handleInteraction(0, result.lastPos[0], result.lastPos[1]);
7979

8080
ev.preventDefault();

0 commit comments

Comments
 (0)