aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/file-upload.js
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-01 18:44:01 +0200
committerkondou <kondou@ts.unde.re>2013-08-01 18:44:01 +0200
commit1348330c7d75d2b60d845a43be57dedc6199ea1a (patch)
tree87f0ffda7f1b173641fc56500e055ce6abe04336 /apps/files/js/file-upload.js
parentaaf0fec9f54bc6f9eef5df00441d593e053ee74b (diff)
downloadnextcloud-server-1348330c7d75d2b60d845a43be57dedc6199ea1a.tar.gz
nextcloud-server-1348330c7d75d2b60d845a43be57dedc6199ea1a.zip
Fix a syntax error & have if-conds in an own line
Diffstat (limited to 'apps/files/js/file-upload.js')
-rw-r--r--apps/files/js/file-upload.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 08047c25fdb..87d8b353b68 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -156,7 +156,9 @@ $(document).ready(function() {
// http://stackoverflow.com/a/6700/11236
var size = 0, key;
for (key in obj) {
- if (obj.hasOwnProperty(key)) { size++; }
+ if (obj.hasOwnProperty(key)) {
+ size++;
+ }
}
return size;
};