onLoad needs to be called from timeout callback in order to not cause issues

This commit is contained in:
Pavle Goloskokovic 2018-01-17 14:08:38 +01:00
parent e75731df87
commit 5720dff5dc

View file

@ -99,8 +99,12 @@ var HTML5AudioFile = new Class({
}
if (touchLocked)
{
setTimeout(function ()
{
this.onLoad();
}.bind(this));
}
}