Fixed OC-261 by modifying js files in apps/media/
This commit is contained in:
parent
7e7de25710
commit
bd262eaac0
2 changed files with 3 additions and 3 deletions
|
@ -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';
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue