We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f510f71 commit 0b4a8b8Copy full SHA for 0b4a8b8
1 file changed
src/sound/html5/HTML5AudioSoundManager.js
@@ -75,7 +75,6 @@ var HTML5AudioSoundManager = new Class({
75
var _this = this;
76
if ('ontouchstart' in window) {
77
var unlock_1 = function () {
78
- document.body.removeEventListener('touchstart', unlock_1);
79
document.body.removeEventListener('touchend', unlock_1);
80
_this.game.cache.audio.entries.each(function (key, tags) {
81
for (var i = 0; i < tags.length; i++) {
@@ -84,7 +83,6 @@ var HTML5AudioSoundManager = new Class({
84
83
return true;
85
});
86
};
87
- document.body.addEventListener('touchstart', unlock_1, false);
88
document.body.addEventListener('touchend', unlock_1, false);
89
}
90
},
0 commit comments