diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-10 09:10:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-10 09:10:08 +0300 |
commit | f9d25383cf2654e14741c46823417a1a4296ea82 (patch) | |
tree | dd65ba6ca3895b8d5af041163cad6bfb0509e372 /app/assets/javascripts/main.js | |
parent | ebc589e90ca9bc03315411b912d2ce957cb84903 (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, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index 7b57ad94bb4..ee27af72b71 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -203,6 +203,9 @@ document.addEventListener('DOMContentLoaded', () => { }); $('.navbar-toggler').on('click', () => { + // The order is important. The `menu-expanded` is used as a source of truth for now. + // This can be simplified when the :combined_menu feature flag is removed. + // https://gitlab.com/gitlab-org/gitlab/-/issues/333180 $('.header-content').toggleClass('menu-expanded'); navEventHub.$emit(EVENT_RESPONSIVE_TOGGLE); }); |