Resetting startTime property of a hijacked sound

This commit is contained in:
Pavle Goloskokovic 2018-01-11 18:40:36 +01:00
parent fb29afedae
commit 81e8542af7

View file

@ -125,6 +125,7 @@ var HTML5AudioSound = new Class({
this.audio = selectedSound.audio;
selectedSound.reset();
selectedSound.audio = null;
selectedSound.startTime = 0;
}
return true;
},