Browse Source

Merge branch 'master' of github.com:wekan/wekan

Lauri Ojansivu 5 năm trước cách đây
mục cha
commit
c5079096b5

+ 4 - 1
client/components/boards/boardsList.js

@@ -1,5 +1,5 @@
 const subManager = new SubsManager();
 const subManager = new SubsManager();
-const { calculateIndex } = Utils;
+const { calculateIndex, enableClickOnTouch } = Utils;
 
 
 Template.boardListHeaderBar.events({
 Template.boardListHeaderBar.events({
   'click .js-open-archived-board'() {
   '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
     // Disable drag-dropping if the current user is not a board member or is comment only
     this.autorun(() => {
     this.autorun(() => {
       $boards.sortable('option', 'disabled', !userIsAllowedToMove());
       $boards.sortable('option', 'disabled', !userIsAllowedToMove());