diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-07-21 13:03:14 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-07-21 13:03:14 +0200 |
commit | e7e5333b1239b84aa166d41231ae711a43eb72d9 (patch) | |
tree | aa0e76f03dbe222c12d41b321f91fe52a540cc53 /core/js/js.js | |
parent | 3df7a83c72fe379d6d37bd0da8f06d46145a728a (diff) | |
download | nextcloud-server-e7e5333b1239b84aa166d41231ae711a43eb72d9.tar.gz nextcloud-server-e7e5333b1239b84aa166d41231ae711a43eb72d9.zip |
Remove special case for css in OC.filePath
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
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+='/'; |