diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-16 18:59:48 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-16 18:59:48 +0300 |
commit | c0b612ff07176d9cbddf0c7e5820607573b2af30 (patch) | |
tree | 8bf7044dff2e343a7925e75e7bc909a624da21b3 /app/assets/javascripts/boards/components/board_sidebar.js | |
parent | 032cbcdbf57de50c446c9c60468c2d0946e84e08 (diff) |
Removes nicescroll from issuable sidebar
Diffstat (limited to 'app/assets/javascripts/boards/components/board_sidebar.js')
-rw-r--r-- | app/assets/javascripts/boards/components/board_sidebar.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/app/assets/javascripts/boards/components/board_sidebar.js b/app/assets/javascripts/boards/components/board_sidebar.js index 9bcea302da2..082025eabaa 100644 --- a/app/assets/javascripts/boards/components/board_sidebar.js +++ b/app/assets/javascripts/boards/components/board_sidebar.js @@ -59,18 +59,6 @@ gl.issueBoards.BoardSidebar = Vue.extend({ }, deep: true }, - issue () { - if (this.showSidebar) { - this.$nextTick(() => { - $('.right-sidebar').getNiceScroll(0).doScrollTop(0, 0); - $('.right-sidebar').getNiceScroll().resize(); - }); - } - - this.issue = this.detail.issue; - this.list = this.detail.list; - }, - deep: true }, methods: { closeSidebar () { |