summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-08-19 14:18:18 +0100
committerPhil Hughes <me@iamphill.com>2016-08-19 16:37:46 +0100
commitabdd4ba8c55e34b6d970aea739142d757f7ab459 (patch)
tree862435467afeddd9d26b54fd0c32862cfcd5fe22
parent888c04818c1b0eeaa29dd9ef2e9f2600bd8cc1a1 (diff)
downloadgitlab-ce-issue-boards-mobile-improvements.tar.gz
Removed commented code :poop:issue-boards-mobile-improvements
-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);
- // });
- // }
}
});
})();