We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acea1a6 + 43d387d commit 5939d41Copy full SHA for 5939d41
cocos2d/audio/CCAudio.js
@@ -122,7 +122,7 @@ cc.Audio = cc.Class.extend({
122
cc.Audio.touchPlayList.push({ loop: loop, offset: offset, audio: this._element });
123
}
124
125
- if (cc.Audio.bindTouch === false && this._element.paused) {
+ if (cc.Audio.bindTouch === false) {
126
cc.Audio.bindTouch = true;
127
// Listen to the touchstart body event and play the audio when necessary.
128
cc.game.canvas.addEventListener('touchstart', cc.Audio.touchStart);
0 commit comments