Skip to content

Commit

Permalink
Remove unnecessary preventDefault in unlock to fix Chrome issues
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfire committed Aug 25, 2018
1 parent 0fb67f7 commit d0e52e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/howler.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,6 @@
// then check if the audio actually played to determine if
// audio has now been unlocked on iOS, Android, etc.
var unlock = function(e) {
e.preventDefault();

// Fix Android can not play in suspend state.
Howler._autoResume();

Expand Down

0 comments on commit d0e52e9

Please sign in to comment.