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.
1 parent f83d288 commit 43d387dCopy full SHA for 43d387d
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