aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index a1ad0c77184..7a53bb75ef5 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -64,9 +64,8 @@ OC={
}
}else if(file.substring(file.length-3) != 'php' && !isCore){
link=OC.appswebroots[app];
- link+='/'+app+'/';
if(type){
- link+=type+'/';
+ link+= '/'+type+'/';
}
link+=file;
}else{