Browse Source

[Glitch] Audio.prototype.seek is undefined

Port f08e6e9ab5 to glitch-soc
closed-social-glitch-2
Thibaut Girka 5 years ago
committed by ThibG
parent
commit
f4ca3262f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/middleware/sounds.js

+ 1
- 1
app/javascript/flavours/glitch/middleware/sounds.js View File

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

Loading…
Cancel
Save