diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-19 16:18:18 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-19 18:37:46 +0300 |
commit | abdd4ba8c55e34b6d970aea739142d757f7ab459 (patch) | |
tree | 862435467afeddd9d26b54fd0c32862cfcd5fe22 /app/assets | |
parent | 888c04818c1b0eeaa29dd9ef2e9f2600bd8cc1a1 (diff) |
Removed commented code :poop:
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/boards/components/board.js.es6 | 14 | ||||
-rw-r--r-- | app/assets/javascripts/boards/components/board_list.js.es6 | 12 |
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); - // }); - // } } }); })(); |