Fix lint.

This commit is contained in:
Lauri Ojansivu 2019-10-01 00:58:12 +03:00
parent 98c38fe58f
commit 4785086e2f

View file

@ -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) {