diff options
author | Marc Hartmayer <hello@hartmayer.com> | 2020-04-27 01:15:10 +0200 |
---|---|---|
committer | Marc Hartmayer <hello@hartmayer.com> | 2020-04-27 01:16:13 +0200 |
commit | eddcb2260bdfba62ecd3e8f8fe6da6e6927ccc47 (patch) | |
tree | fc1b2e7df08b53d81b7a64da50567d0ba61e8f7d /client/components/boards/boardsList.js | |
parent | 3908fe0ab875cf4b793c884a3d82df2f1a3b2686 (diff) | |
download | wekan-eddcb2260bdfba62ecd3e8f8fe6da6e6927ccc47.tar.gz wekan-eddcb2260bdfba62ecd3e8f8fe6da6e6927ccc47.tar.bz2 wekan-eddcb2260bdfba62ecd3e8f8fe6da6e6927ccc47.zip |
Reactivate the touch event fix for the boards list
This fixes https://github.com/wekan/wekan/issues/3049.
Diffstat (limited to 'client/components/boards/boardsList.js')
-rw-r--r-- | client/components/boards/boardsList.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index df319ce0..9208fdb2 100644 --- a/client/components/boards/boardsList.js +++ b/client/components/boards/boardsList.js @@ -1,5 +1,5 @@ const subManager = new SubsManager(); -const { calculateIndex } = Utils; +const { calculateIndex, enableClickOnTouch } = Utils; Template.boardListHeaderBar.events({ 'click .js-open-archived-board'() { @@ -68,6 +68,9 @@ BlazeComponent.extendComponent({ }, }); + // ugly touch event hotfix + enableClickOnTouch(itemsSelector); + // Disable drag-dropping if the current user is not a board member or is comment only this.autorun(() => { $boards.sortable('option', 'disabled', !userIsAllowedToMove()); |