Skip to content

Commit d0e52e9

Browse files
committed
Remove unnecessary preventDefault in unlock to fix Chrome issues
Fixes #1003 #1011 #1025 #1026
1 parent 0fb67f7 commit d0e52e9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/howler.core.js

-2
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@
303303
// then check if the audio actually played to determine if
304304
// audio has now been unlocked on iOS, Android, etc.
305305
var unlock = function(e) {
306-
e.preventDefault();
307-
308306
// Fix Android can not play in suspend state.
309307
Howler._autoResume();
310308

0 commit comments

Comments
 (0)