]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove special case for css in OC.filePath
authorRobin Appelman <icewind@owncloud.com>
Mon, 21 Jul 2014 11:03:14 +0000 (13:03 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 21 Jul 2014 11:03:14 +0000 (13:03 +0200)
core/js/js.js

index 4a9a5ce82ffbeef3fed65de46632aca94dca18d1..6b1c9b88631e2dfd0b140fd6abce376b9dd2918e 100644 (file)
@@ -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+='/';