Browse Source

Audio.prototype.seek is undefined (#5935)

pull/4/head
Yamagishi Kazutoshi 6 years ago
committed by Eugen Rochko
parent
commit
f08e6e9ab5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/middleware/sounds.js

+ 1
- 1
app/javascript/mastodon/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