summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-09 16:43:05 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-09 16:43:05 +0100
commitfe3ffcbfc3b45928a9bc7b92054c2a8866fa83f6 (patch)
tree71bb2e8f77dc7e36d81ca4e93a3911dfbe41dfe5 /apps/files/js
parent2098573614d1a8a78ee5b7fdcd527c7ed0844079 (diff)
parent692f312513158edf4cf99607e6d5437d139003c7 (diff)
downloadnextcloud-server-fe3ffcbfc3b45928a9bc7b92054c2a8866fa83f6.tar.gz
nextcloud-server-fe3ffcbfc3b45928a9bc7b92054c2a8866fa83f6.zip
Merge pull request #23026 from stweil/master
apps/files: Fix typos in comments (found and fixed by codespell)
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js2
-rw-r--r--apps/files/js/jquery.fileupload.js2
-rw-r--r--apps/files/js/mainfileinfodetailview.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index fcdf6caaa59..bfcc77d8999 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -468,7 +468,7 @@
actionsWidth += $(action).outerWidth();
});
- // substract app navigation toggle when visible
+ // subtract app navigation toggle when visible
containerWidth -= $('#app-navigation-toggle').width();
this.breadcrumb.setMaxWidth(containerWidth - actionsWidth - 10);
diff --git a/apps/files/js/jquery.fileupload.js b/apps/files/js/jquery.fileupload.js
index f9f6cc3a382..d7f19b17550 100644
--- a/apps/files/js/jquery.fileupload.js
+++ b/apps/files/js/jquery.fileupload.js
@@ -942,7 +942,7 @@
var inputClone = input.clone(true);
$('<form></form>').append(inputClone)[0].reset();
// Detaching allows to insert the fileInput on another form
- // without loosing the file input value:
+ // without losing the file input value:
input.after(inputClone).detach();
// Avoid memory leaks with the detached file input:
$.cleanData(input.unbind('remove'));
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js
index 69c796e492f..1bcb4873c53 100644
--- a/apps/files/js/mainfileinfodetailview.js
+++ b/apps/files/js/mainfileinfodetailview.js
@@ -196,7 +196,7 @@
}
// only set background when we have an actual preview
- // when we dont have a preview we show the mime icon in the error handler
+ // when we don't have a preview we show the mime icon in the error handler
$iconDiv.css({
'background-image': 'url("' + previewUrl + '")',
height: (targetHeight > smallPreviewSize)? 'auto': targetHeight,