summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/boards/components/board.js.es614
-rw-r--r--app/assets/javascripts/boards/components/board_list.js.es612
2 files changed, 0 insertions, 26 deletions
diff --git a/app/assets/javascripts/boards/components/board.js.es6 b/app/assets/javascripts/boards/components/board.js.es6
index 0bf7d632be3..d7f4107cb02 100644
--- a/app/assets/javascripts/boards/components/board.js.es6
+++ b/app/assets/javascripts/boards/components/board.js.es6
@@ -73,20 +73,6 @@
});
this.sortable = Sortable.create(this.$el.parentNode, options);
-
- // if (gl.issueBoards.touchEnabled) {
- // this.$on('scroll', () => {
- // if (!startedDragging) {
- // this.sortable.option("disabled", true);
- // }
- // this.$broadcast('scroll');
- // });
- //
- // this.$on('scrollend', () => {
- // this.sortable.option("disabled", false);
- // this.$broadcast('scrollend');
- // });
- // }
},
beforeDestroy () {
Store.state.lists.$remove(this.list);
diff --git a/app/assets/javascripts/boards/components/board_list.js.es6 b/app/assets/javascripts/boards/components/board_list.js.es6
index f735ef10f9f..a6644e9eb8c 100644
--- a/app/assets/javascripts/boards/components/board_list.js.es6
+++ b/app/assets/javascripts/boards/components/board_list.js.es6
@@ -82,18 +82,6 @@
this.loadNextPage();
}
};
-
- // if (gl.issueBoards.touchEnabled) {
- // this.$on('scroll', () => {
- // if (!startedDragging) {
- // this.sortable.option("disabled", true);
- // }
- // });
- //
- // this.$on('scrollend', () => {
- // this.sortable.option("disabled", false);
- // });
- // }
}
});
})();