Marking all locked audio tags as unlocked after loading finishes

This commit is contained in:
Pavle Goloskokovic 2018-04-14 18:52:43 +02:00
parent 5efa219adc
commit d664a7d4a6

View file

@ -208,6 +208,12 @@ var HTML5AudioSoundManager = new Class({
lastTag.oncanplaythrough = function ()
{
lastTag.oncanplaythrough = null;
lockedTags.forEach(function (tag)
{
tag.dataset.locked = 'false';
});
_this.unlocked = true;
};