Using tag data for checking if the sound is locked instead of global flag

This commit is contained in:
Pavle Goloskokovic 2018-04-14 18:55:52 +02:00
parent e86e09a6b3
commit 44a377f83c

View file

@ -325,7 +325,7 @@ var HTML5AudioSoundManager = new Class({
*/
isLocked: function (sound, prop, value)
{
if (this.locked)
if (sound.tags[0].dataset.locked === 'true')
{
this.lockedActionsQueue.push({
sound: sound,