diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-06 09:41:25 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-06 09:41:25 +0100 |
commit | c9f3b5a3118237f66683daf9341dd562cd550722 (patch) | |
tree | 5a522d16fff7bc1e6185621551af215473b9045d /apps/files/js | |
parent | 576d31d48d1e368c0ca54a95f28dc3bc0e553d83 (diff) | |
download | nextcloud-server-c9f3b5a3118237f66683daf9341dd562cd550722.tar.gz nextcloud-server-c9f3b5a3118237f66683daf9341dd562cd550722.zip |
Use proper whitespace
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files/js')
-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) { |