summaryrefslogtreecommitdiffstats
path: root/apps/media/js/music.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media/js/music.js')
-rw-r--r--apps/media/js/music.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/js/music.js b/apps/media/js/music.js
index 1ffe4e10087..f93f0fded62 100644
--- a/apps/media/js/music.js
+++ b/apps/media/js/music.js
@@ -48,7 +48,7 @@ function getUrlVars(){
}
function musicTypeFromFile(file){
- var extention=file.split('.').pop();
+ var extention=file.split('.').pop().toLowerCase();
if(extention=='ogg'){
return 'oga';
}