summaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
Diffstat (limited to 'cgi-bin')
-rwxr-xr-xcgi-bin/details2
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)