Commit abdd4ba8 authored by Phil Hughes's avatar Phil Hughes

Removed commented code 💩

parent 888c0481
...@@ -73,20 +73,6 @@ ...@@ -73,20 +73,6 @@
}); });
this.sortable = Sortable.create(this.$el.parentNode, options); 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 () { beforeDestroy () {
Store.state.lists.$remove(this.list); Store.state.lists.$remove(this.list);
......
...@@ -82,18 +82,6 @@ ...@@ -82,18 +82,6 @@
this.loadNextPage(); this.loadNextPage();
} }
}; };
// if (gl.issueBoards.touchEnabled) {
// this.$on('scroll', () => {
// if (!startedDragging) {
// this.sortable.option("disabled", true);
// }
// });
//
// this.$on('scrollend', () => {
// this.sortable.option("disabled", false);
// });
// }
} }
}); });
})(); })();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment