diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-10 21:41:45 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-10 21:41:45 +0100 |
| commit | 872c5487c01bc88480edf648a122231cf15b5a82 (patch) | |
| tree | 8829b89b03ff436fb8b3ec5f26d9ff125e22702f /cgi-bin | |
| parent | 928e8fd45290b9487abe61ad1ff1f7a6cc97678d (diff) | |
Diffstat (limited to 'cgi-bin')
| -rwxr-xr-x | cgi-bin/details | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/details b/cgi-bin/details index 203b77c..34bb9b3 100755 --- a/cgi-bin/details +++ b/cgi-bin/details @@ -202,7 +202,7 @@ var links = document.querySelectorAll("a") var audio, music = [], current_index = -1, typing = false var comment = document.querySelector("#comment") Array.prototype.slice.apply(links).forEach(function(url){ - if (! url.href.match(/(mp3|wav|ogg)/i)) return + if (! url.href.match(/(opus|mp3|wav|ogg)/i)) return var index = music.length if (is_mobile) url.href = url.href.replace(/^https/,"http") music.push(url) |
