summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-10-01 00:58:12 +0300
committerLauri Ojansivu <x@xet7.org>2019-10-01 00:58:12 +0300
commit4785086e2f4b1840d3a3059c2646363b10527d4f (patch)
treea43d079e457874a12638491d196a6d63b8c1f1c4 /client
parent98c38fe58f597cbc0389676ae880704a671e480b (diff)
downloadwekan-4785086e2f4b1840d3a3059c2646363b10527d4f.tar.gz
wekan-4785086e2f4b1840d3a3059c2646363b10527d4f.tar.bz2
wekan-4785086e2f4b1840d3a3059c2646363b10527d4f.zip
Fix lint.
Diffstat (limited to 'client')
-rw-r--r--client/components/swimlanes/swimlanes.js17
1 files changed, 3 insertions, 14 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js
index 8953eb05..54bead31 100644
--- a/client/components/swimlanes/swimlanes.js
+++ b/client/components/swimlanes/swimlanes.js
@@ -105,17 +105,12 @@ function initSortable(boardComponent, $listsDom) {
$listsDom.sortable({
handle: '.js-list-handle',
});
- }
-
+ };
if (!Utils.isMiniScreen && showDesktopDragHandles) {
$listsDom.sortable({
handle: '.js-list-header',
});
- }
-
-
-
-
+ };
if ($listDom.data('sortable')) {
$listsDom.sortable(
'option',
@@ -179,13 +174,7 @@ BlazeComponent.extendComponent({
}
if (!Utils.isMiniScreen && !showDesktopDragHandles) {
- noDragInside = [
- 'a',
- 'input',
- 'textarea',
- 'p',
- '.js-list-header',
- ];
+ noDragInside = ['a', 'input', 'textarea', 'p', '.js-list-header'];
}
if (!Utils.isMiniScreen && showDesktopDragHandles) {