diff options
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 2 | ||||
-rw-r--r-- | apps/files/js/jquery.fileupload.js | 2 | ||||
-rw-r--r-- | apps/files/js/mainfileinfodetailview.js | 2 |
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, |