Skip to content

Commit 8c723a8

Browse files
goldfirebhaskarp-vg
authored andcommitted
Remove the touchstart event for now
This is in reference to goldfire#808
1 parent 2c9e8a4 commit 8c723a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/howler.core.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,13 +332,11 @@
332332
self.mobileAutoEnable = false;
333333

334334
// Remove the touch start listener.
335-
document.removeEventListener('touchstart', unlock, true);
336335
document.removeEventListener('touchend', unlock, true);
337336
};
338337
};
339338

340339
// Setup a touch start listener to attempt an unlock in.
341-
document.addEventListener('touchstart', unlock, true);
342340
document.addEventListener('touchend', unlock, true);
343341

344342
return self;

0 commit comments

Comments
 (0)