summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <jan@unhosted.org>2012-04-15 13:32:45 +0200
committerJan-Christoph Borchardt <jan@unhosted.org>2012-04-15 13:34:30 +0200
commit7ddd0434270fa1cc51769e812f257cf63b0ec92f (patch)
tree10a2cac32c4cdb05e4c88b9008d6b1e05e670faa /core/js
parentd32799e4bf48412d71222401dba84aaab47a75a7 (diff)
downloadnextcloud-server-7ddd0434270fa1cc51769e812f257cf63b0ec92f.tar.gz
nextcloud-server-7ddd0434270fa1cc51769e812f257cf63b0ec92f.zip
renamed extention to extension, also now only showing lowercase
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 2e65dfac507..51dcbe5413e 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -69,10 +69,10 @@ OC={
* @param file the name of the image file
* @return string
*
- * if no extention is given for the image, it will automatically decide between .png and .svg based on what the browser supports
+ * if no extension is given for the image, it will automatically decide between .png and .svg based on what the browser supports
*/
imagePath:function(app,file){
- if(file.indexOf('.')==-1){//if no extention is given, use png or svg depending on browser support
+ if(file.indexOf('.')==-1){//if no extension is given, use png or svg depending on browser support
file+=(SVGSupport())?'.svg':'.png';
}
return OC.filePath(app,'img',file);