diff --git a/core/js/js.js b/core/js/js.js index 4a9a5ce82f..6b1c9b8863 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -258,7 +258,7 @@ var OC={ filePath:function(app,type,file){ var isCore=OC.coreApps.indexOf(app)!==-1, link=OC.webroot; - if((file.substring(file.length-3) === 'php' || file.substring(file.length-3) === 'css') && !isCore){ + if(file.substring(file.length-3) === 'php' && !isCore){ link+='/index.php/apps/' + app; if (file != 'index.php') { link+='/';