We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a377f commit ee5c56cCopy full SHA for ee5c56c
1 file changed
src/sound/html5/HTML5AudioSoundManager.js
@@ -96,7 +96,7 @@ var HTML5AudioSoundManager = new Class({
96
* @private
97
* @since 3.0.0
98
*/
99
- this.lockedActionsQueue = this.locked ? [] : null;
+ this.lockedActionsQueue = null;
100
101
/**
102
* Property that actually holds the value of global mute
@@ -156,7 +156,11 @@ var HTML5AudioSoundManager = new Class({
156
{
157
this.locked = 'ontouchstart' in window;
158
159
- if(!this.locked)
+ if(this.locked)
160
+ {
161
+ this.lockedActionsQueue = [];
162
+ }
163
+ else
164
165
return;
166
}
@@ -249,6 +253,7 @@ var HTML5AudioSoundManager = new Class({
249
253
250
254
this.lockedActionsQueue.length = 0;
251
255
this.lockedActionsQueue = null;
256
+
252
257
}, this);
258
259
document.body.addEventListener('touchmove', detectMove, false);
0 commit comments