[Glitch] Audio.prototype.seek is undefined

Port f08e6e9ab5 to glitch-soc
pull/721/head
Thibaut Girka 2018-09-06 18:33:49 +02:00 committed by ThibG
parent 8dbbec0939
commit f4ca3262f2
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ const play = audio => {
if (typeof audio.fastSeek === 'function') {
audio.fastSeek(0);
} else {
audio.seek(0);
audio.currentTime = 0;
}
}