diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 09:09:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 09:09:20 +0300 |
commit | ffc43b862df32a590eae874bcbb11109b46dc8be (patch) | |
tree | 8fb230d68e3af81c00a5ccca20dfc7f663ad9a05 /app/assets/javascripts/main.js | |
parent | 996c6bf06f602ada62e3f754c121c17051072892 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/main.js')
-rw-r--r-- | app/assets/javascripts/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index 95fa6107cc0..4d3a61a7627 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -200,7 +200,8 @@ document.addEventListener('DOMContentLoaded', () => { } }); - if (bootstrapBreakpoint === 'sm' || bootstrapBreakpoint === 'xs') { + const isBoardsPage = /(projects|groups):boards:show/.test(document.body.dataset.page); + if (!isBoardsPage && (bootstrapBreakpoint === 'sm' || bootstrapBreakpoint === 'xs')) { const $rightSidebar = $('aside.right-sidebar'); const $layoutPage = $('.layout-page'); |