[Glitch] Audio.prototype.seek is undefined

Port f08e6e9ab5 to glitch-soc
This commit is contained in:
Thibaut Girka authored and ThibG committed 2018-09-07 20:37:17 +02:00
1 parent 8dbbec0939
commit f4ca3262f2
1 file changed
+1 -1
@@ -15,7 +15,7 @@ const play = audio => {
if (typeof audio.fastSeek === 'function') {
audio.fastSeek(0);
} else {
audio.seek(0);
audio.currentTime = 0;
}
}