apps/files: Fix typos in comments (found and fixed by codespell)
This contribution is AGPL and MIT licensed. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
d0a70a9776
commit
692f312513
|
@ -27,7 +27,7 @@ $installedVersion = \OC::$server->getConfig()->getAppValue('files', 'installed_v
|
||||||
$ocVersion = explode('.', \OC::$server->getSystemConfig()->getValue('version'));
|
$ocVersion = explode('.', \OC::$server->getSystemConfig()->getValue('version'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* In case encryption was not enabled, we accidently set encrypted = 1 for
|
* In case encryption was not enabled, we accidentally set encrypted = 1 for
|
||||||
* files inside mount points, since 8.1.0. This breaks opening the files in
|
* files inside mount points, since 8.1.0. This breaks opening the files in
|
||||||
* 8.1.1 because we fixed the code that checks if a file is encrypted.
|
* 8.1.1 because we fixed the code that checks if a file is encrypted.
|
||||||
* In order to fix the file, we need to reset the flag of the file. However,
|
* In order to fix the file, we need to reset the flag of the file. However,
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-sidebar .mainFileInfoView {
|
#app-sidebar .mainFileInfoView {
|
||||||
margin-right: 20px; /* accomodate for close icon */
|
margin-right: 20px; /* accommodate for close icon */
|
||||||
float:left;
|
float:left;
|
||||||
display:block;
|
display:block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-sidebar .thumbnailContainer.image.portrait {
|
#app-sidebar .thumbnailContainer.image.portrait {
|
||||||
margin: 0; /* if we dont fit the image anyway we give it back the margin */
|
margin: 0; /* if we don't fit the image anyway we give it back the margin */
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-sidebar .image .thumbnail {
|
#app-sidebar .image .thumbnail {
|
||||||
|
|
|
@ -468,7 +468,7 @@
|
||||||
actionsWidth += $(action).outerWidth();
|
actionsWidth += $(action).outerWidth();
|
||||||
});
|
});
|
||||||
|
|
||||||
// substract app navigation toggle when visible
|
// subtract app navigation toggle when visible
|
||||||
containerWidth -= $('#app-navigation-toggle').width();
|
containerWidth -= $('#app-navigation-toggle').width();
|
||||||
|
|
||||||
this.breadcrumb.setMaxWidth(containerWidth - actionsWidth - 10);
|
this.breadcrumb.setMaxWidth(containerWidth - actionsWidth - 10);
|
||||||
|
|
|
@ -942,7 +942,7 @@
|
||||||
var inputClone = input.clone(true);
|
var inputClone = input.clone(true);
|
||||||
$('<form></form>').append(inputClone)[0].reset();
|
$('<form></form>').append(inputClone)[0].reset();
|
||||||
// Detaching allows to insert the fileInput on another form
|
// 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();
|
input.after(inputClone).detach();
|
||||||
// Avoid memory leaks with the detached file input:
|
// Avoid memory leaks with the detached file input:
|
||||||
$.cleanData(input.unbind('remove'));
|
$.cleanData(input.unbind('remove'));
|
||||||
|
|
|
@ -196,7 +196,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// only set background when we have an actual preview
|
// 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({
|
$iconDiv.css({
|
||||||
'background-image': 'url("' + previewUrl + '")',
|
'background-image': 'url("' + previewUrl + '")',
|
||||||
height: (targetHeight > smallPreviewSize)? 'auto': targetHeight,
|
height: (targetHeight > smallPreviewSize)? 'auto': targetHeight,
|
||||||
|
|
Loading…
Reference in New Issue