summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2017-11-06 10:27:09 +0100
committerGitHub <noreply@github.com>2017-11-06 10:27:09 +0100
commitd4f83d505aedd389701413d4d891b914ee05c6bd (patch)
tree2421f826f1e4d7271204a40980177cfa0bd8c563 /apps/files
parent81ac1ec97732e8f0572bdca67485f40119370ffd (diff)
parentc9f3b5a3118237f66683daf9341dd562cd550722 (diff)
downloadnextcloud-server-d4f83d505aedd389701413d4d891b914ee05c6bd.tar.gz
nextcloud-server-d4f83d505aedd389701413d4d891b914ee05c6bd.zip
Merge pull request #7074 from nextcloud/use-proper-whitespace
Use proper whitespace
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index cdc2e27a612..e34d7fe2550 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -96,7 +96,7 @@
*/
isFileNameValid: function (name) {
var trimmedName = name.trim();
- if (trimmedName === '.' || trimmedName === '..')
+ if (trimmedName === '.' || trimmedName === '..')
{
throw t('files', '"{name}" is an invalid file name.', {name: name});
} else if (trimmedName.length === 0) {