mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Marking all locked audio tags as unlocked after loading finishes
This commit is contained in:
parent
5efa219adc
commit
d664a7d4a6
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue