1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Audio.prototype.seek is undefined (#5935)

This commit is contained in:
Yamagishi Kazutoshi 2017-12-09 09:25:00 +09:00 committed by Eugen Rochko
parent 86b4d5439c
commit f08e6e9ab5

View file

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