From 928e8fd45290b9487abe61ad1ff1f7a6cc97678d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 30 Apr 2016 13:37:48 -0500 Subject: subjects, titles --- cgi-bin/details | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgi-bin/details') 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) -- cgit v1.2.3-70-g09d2