mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Hotfix for mobile device
This commit is contained in:
parent
6c7eab4456
commit
43d86d7d5d
7 changed files with 82 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const { calculateIndexData } = Utils;
|
||||
const { calculateIndexData, enableClickOnTouch } = Utils;
|
||||
|
||||
function initSorting(items) {
|
||||
items.sortable({
|
||||
|
|
@ -36,6 +36,11 @@ function initSorting(items) {
|
|||
checklistItem.move(checklistId, sortIndex.base);
|
||||
},
|
||||
});
|
||||
|
||||
// ugly touch event hotfix
|
||||
$('.js-checklist-item:not(.placeholder)').each(function() {
|
||||
enableClickOnTouch(this);
|
||||
});
|
||||
}
|
||||
|
||||
BlazeComponent.extendComponent({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue