diff options
author | Stefan Weil <sw@weilnetz.de> | 2018-10-19 11:23:33 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2018-10-19 11:24:24 +0200 |
commit | 2ad38200fbad6a21403a1addaa65deab72741760 (patch) | |
tree | 94265101976cc7d49429a06483987dec3492d76d /apps/files/js | |
parent | a1ea504edf529a364be9b66fda5d100d62dcc0b9 (diff) | |
download | nextcloud-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.js | 2 | ||||
-rw-r--r-- | apps/files/js/filelist.js | 4 |
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); |