From 692f312513158edf4cf99607e6d5437d139003c7 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 9 Mar 2016 15:14:05 +0100 Subject: apps/files: Fix typos in comments (found and fixed by codespell) This contribution is AGPL and MIT licensed. Signed-off-by: Stefan Weil --- apps/files/js/filelist.js | 2 +- apps/files/js/jquery.fileupload.js | 2 +- apps/files/js/mainfileinfodetailview.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/files/js') 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); $('
').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, -- cgit v1.2.3