diff options
author | Phil Hughes <me@iamphill.com> | 2019-06-14 10:47:07 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-06-14 10:47:07 +0300 |
commit | cd300323c8cc6744c46ef3f732c412226615abbf (patch) | |
tree | 31893bcf0206bec37a0cb817836fca9b138df703 /app/assets | |
parent | 96a46468c23d7017db00f78e200fddfee832eb39 (diff) | |
parent | 32c5fa99fef70caeed33a852f0bb0c8b9a41028e (diff) |
Merge branch 'fix-flyout-navs' into 'master'
Fix sidebar flyout navigation
See merge request gitlab-org/gitlab-ce!29571
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/contextual_sidebar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/contextual_sidebar.js b/app/assets/javascripts/contextual_sidebar.js index b62ec8a651b..9263e9b27e4 100644 --- a/app/assets/javascripts/contextual_sidebar.js +++ b/app/assets/javascripts/contextual_sidebar.js @@ -78,7 +78,7 @@ export default class ContextualSidebar { const dbp = ContextualSidebar.isDesktopBreakpoint(); if (this.$sidebar.length) { - this.$sidebar.toggleClass('sidebar-collapsed-desktop', collapsed); + this.$sidebar.toggleClass(`sidebar-collapsed-desktop ${SIDEBAR_COLLAPSED_CLASS}`, collapsed); this.$sidebar.toggleClass('sidebar-expanded-mobile', !dbp ? !collapsed : false); this.$page.toggleClass( 'page-with-icon-sidebar', |