Fixed OC-261 by modifying js files in apps/media/

This commit is contained in:
Deepak Mittal 2012-03-23 19:41:03 +05:30 committed by Robin Appelman
parent 7e7de25710
commit bd262eaac0
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
function musicTypeFromFile(file){
var extention=file.substr(file.indexOf('.')+1);
var extention=file.substr(file.indexOf('.')+1).toLowerCase();
if(extention=='ogg'){
return 'oga';
}
@ -56,4 +56,4 @@ $(document).ready(function() {
loadPlayer();
}
}
});
});

View File

@ -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';
}