We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f3156e commit f692aadCopy full SHA for f692aad
1 file changed
v3/src/sound/webaudio/WebAudioSoundManager.js
@@ -67,10 +67,10 @@ var WebAudioSoundManager = new Class({
67
var _this = this;
68
if (this.context.state === 'suspended') {
69
var unlock_1 = function () {
70
- document.body.removeEventListener('touchstart', unlock_1);
+ document.body.removeEventListener('touchend', unlock_1);
71
_this.context.resume();
72
};
73
- document.body.addEventListener('touchstart', unlock_1, false);
+ document.body.addEventListener('touchend', unlock_1, false);
74
}
75
},
76
onBlur: function () {
0 commit comments