commit: f08e6e9ab54a72cc20b33b270789c245b5cfde39
parent: 86b4d5439caf717fc549a6036ca50a661badbd55
Author: Yamagishi Kazutoshi <ykzts@desire.sh>
Date: Sat, 9 Dec 2017 09:25:00 +0900
Audio.prototype.seek is undefined (#5935)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/javascript/mastodon/middleware/sounds.js b/app/javascript/mastodon/middleware/sounds.js
@@ -15,7 +15,7 @@ const play = audio => {
if (typeof audio.fastSeek === 'function') {
audio.fastSeek(0);
} else {
- audio.seek(0);
+ audio.currentTime = 0;
}
}