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

@ -100,7 +100,11 @@ var HTML5AudioFile = new Class({
if (touchLocked) if (touchLocked)
{ {
this.onLoad(); setTimeout(function ()
{
this.onLoad();
}.bind(this));
} }
} }