diff options
| author | Jules Laplace <carbon@melanarchy.org> | 2016-04-30 13:37:48 -0500 |
|---|---|---|
| committer | Jules Laplace <carbon@melanarchy.org> | 2016-04-30 13:37:48 -0500 |
| commit | 928e8fd45290b9487abe61ad1ff1f7a6cc97678d (patch) | |
| tree | 85c3f61147da534a5826ec8b58be86f5d7699ba9 /cgi-bin/details | |
| parent | 52098b9912a387df5aa8efaf3b3216080a6b1672 (diff) | |
subjects, titles
Diffstat (limited to 'cgi-bin/details')
| -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 e35abf1..203b77c 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)/)) return + if (! url.href.match(/(mp3|wav|ogg)/i)) return var index = music.length if (is_mobile) url.href = url.href.replace(/^https/,"http") music.push(url) |
