diff options
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'); |