From abdd4ba8c55e34b6d970aea739142d757f7ab459 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Fri, 19 Aug 2016 14:18:18 +0100 Subject: Removed commented code :poop: --- app/assets/javascripts/boards/components/board.js.es6 | 14 -------------- app/assets/javascripts/boards/components/board_list.js.es6 | 12 ------------ 2 files changed, 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); - // }); - // } } }); })(); -- cgit v1.2.1