summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2018-10-19 11:23:33 +0200
committerStefan Weil <sw@weilnetz.de>2018-10-19 11:24:24 +0200
commit2ad38200fbad6a21403a1addaa65deab72741760 (patch)
tree94265101976cc7d49429a06483987dec3492d76d /apps/files/js
parenta1ea504edf529a364be9b66fda5d100d62dcc0b9 (diff)
downloadnextcloud-server-2ad38200fbad6a21403a1addaa65deab72741760.tar.gz
nextcloud-server-2ad38200fbad6a21403a1addaa65deab72741760.zip
Add missing semicolons
This fixes some recommendations from LGTM: Avoid automated semicolon insertion (90% of all statements in the enclosing function have an explicit semicolon). Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/detailsview.js2
-rw-r--r--apps/files/js/filelist.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js
index 2a5d589a730..675e380b52b 100644
--- a/apps/files/js/detailsview.js
+++ b/apps/files/js/detailsview.js
@@ -102,7 +102,7 @@
this.$el.insertAfter($('#app-content'));
} else {
if ($appSidebar[0] !== this.el) {
- $appSidebar.replaceWith(this.$el)
+ $appSidebar.replaceWith(this.$el);
}
}
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 94052b10b33..771ec495a2d 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -310,10 +310,10 @@
breadcrumbOptions.onDrop = _.bind(this._onDropOnBreadCrumb, this);
breadcrumbOptions.onOver = function() {
self.$el.find('td.filename.ui-droppable').droppable('disable');
- }
+ };
breadcrumbOptions.onOut = function() {
self.$el.find('td.filename.ui-droppable').droppable('enable');
- }
+ };
}
this.breadcrumb = new OCA.Files.BreadCrumb(breadcrumbOptions);