mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 08:33:40 +00:00
onLoad needs to be called from timeout callback in order to not cause issues
This commit is contained in:
parent
e75731df87
commit
5720dff5dc
1 changed files with 5 additions and 1 deletions
|
@ -100,7 +100,11 @@ var HTML5AudioFile = new Class({
|
|||
|
||||
if (touchLocked)
|
||||
{
|
||||
this.onLoad();
|
||||
setTimeout(function ()
|
||||
{
|
||||
this.onLoad();
|
||||
|
||||
}.bind(this));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue