mirror of
https://github.com/wekan/wekan.git
synced 2025-12-21 18:00:12 +01:00
Don't interpret dragging an element as a click
Remove `enableClickOnTouch` as this behavior is not intuitive.
This commit is contained in:
parent
6d1cdebfe2
commit
f1b18d79cd
6 changed files with 6 additions and 27 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const { calculateIndexData, enableClickOnTouch, capitalize } = Utils;
|
||||
const { calculateIndexData, capitalize } = Utils;
|
||||
|
||||
function initSorting(items) {
|
||||
items.sortable({
|
||||
|
|
@ -36,9 +36,6 @@ function initSorting(items) {
|
|||
checklistItem.move(checklistId, sortIndex.base);
|
||||
},
|
||||
});
|
||||
|
||||
// ugly touch event hotfix
|
||||
enableClickOnTouch('.js-checklist-item:not(.placeholder)');
|
||||
}
|
||||
|
||||
BlazeComponent.extendComponent({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue