Skip to content

Commit 44a377f

Browse files
Using tag data for checking if the sound is locked instead of global flag
1 parent e86e09a commit 44a377f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ var HTML5AudioSoundManager = new Class({
325325
*/
326326
isLocked: function (sound, prop, value)
327327
{
328-
if (this.locked)
328+
if (sound.tags[0].dataset.locked === 'true')
329329
{
330330
this.lockedActionsQueue.push({
331331
sound: sound,

0 commit comments

Comments
 (0)