From e7e5333b1239b84aa166d41231ae711a43eb72d9 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 21 Jul 2014 13:03:14 +0200 Subject: Remove special case for css in OC.filePath --- core/js/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/js') diff --git a/core/js/js.js b/core/js/js.js index 4a9a5ce82ff..6b1c9b88631 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+='/'; -- cgit v1.2.3