diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-22 19:53:34 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-25 20:45:55 +0300 |
commit | f9a212e8a3342844556d92fea8619ec9246d3883 (patch) | |
tree | 853686ea76a0fb4528959ec6aa2ce2b1d454a2a9 /app/assets/javascripts/merge_request_tabs.js | |
parent | 17251d0464e2c5a61c56f45b435fcf5356d4273b (diff) |
Stop breadcrumbs changing container when in side-by-side diff
Closes #37641
Diffstat (limited to 'app/assets/javascripts/merge_request_tabs.js')
-rw-r--r-- | app/assets/javascripts/merge_request_tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/merge_request_tabs.js b/app/assets/javascripts/merge_request_tabs.js index 8ae127776e8..d3299c15720 100644 --- a/app/assets/javascripts/merge_request_tabs.js +++ b/app/assets/javascripts/merge_request_tabs.js @@ -352,7 +352,7 @@ import { } expandViewContainer() { - const $wrapper = $('.content-wrapper .container-fluid'); + const $wrapper = $('.content-wrapper .container-fluid').not('.breadcrumbs'); if (this.fixedLayoutPref === null) { this.fixedLayoutPref = $wrapper.hasClass('container-limited'); } |