Skip to content

Commit 30623fc

Browse files
committed
Remove unnecessary preventDefault in unlock to fix Chrome issues
Fixes goldfire#1003 goldfire#1011 goldfire#1025 goldfire#1026
1 parent e9180b6 commit 30623fc

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)