mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fix lint.
This commit is contained in:
parent
98c38fe58f
commit
4785086e2f
1 changed files with 3 additions and 14 deletions
|
|
@ -105,17 +105,12 @@ function initSortable(boardComponent, $listsDom) {
|
||||||
$listsDom.sortable({
|
$listsDom.sortable({
|
||||||
handle: '.js-list-handle',
|
handle: '.js-list-handle',
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
if (!Utils.isMiniScreen && showDesktopDragHandles) {
|
if (!Utils.isMiniScreen && showDesktopDragHandles) {
|
||||||
$listsDom.sortable({
|
$listsDom.sortable({
|
||||||
handle: '.js-list-header',
|
handle: '.js-list-header',
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ($listDom.data('sortable')) {
|
if ($listDom.data('sortable')) {
|
||||||
$listsDom.sortable(
|
$listsDom.sortable(
|
||||||
'option',
|
'option',
|
||||||
|
|
@ -179,13 +174,7 @@ BlazeComponent.extendComponent({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Utils.isMiniScreen && !showDesktopDragHandles) {
|
if (!Utils.isMiniScreen && !showDesktopDragHandles) {
|
||||||
noDragInside = [
|
noDragInside = ['a', 'input', 'textarea', 'p', '.js-list-header'];
|
||||||
'a',
|
|
||||||
'input',
|
|
||||||
'textarea',
|
|
||||||
'p',
|
|
||||||
'.js-list-header',
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Utils.isMiniScreen && showDesktopDragHandles) {
|
if (!Utils.isMiniScreen && showDesktopDragHandles) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue