mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-19 00:21:40 +01:00
[Glitch] Audio.prototype.seek is undefined
Port f08e6e9ab54a72cc20b33b270789c245b5cfde39 to glitch-soc
This commit is contained in:
parent
8dbbec0939
commit
f4ca3262f2
@ -15,7 +15,7 @@ const play = audio => {
|
||||
if (typeof audio.fastSeek === 'function') {
|
||||
audio.fastSeek(0);
|
||||
} else {
|
||||
audio.seek(0);
|
||||
audio.currentTime = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user