diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2017-11-06 10:27:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-06 10:27:09 +0100 |
commit | d4f83d505aedd389701413d4d891b914ee05c6bd (patch) | |
tree | 2421f826f1e4d7271204a40980177cfa0bd8c563 /apps/files | |
parent | 81ac1ec97732e8f0572bdca67485f40119370ffd (diff) | |
parent | c9f3b5a3118237f66683daf9341dd562cd550722 (diff) | |
download | nextcloud-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.js | 2 |
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) { |