diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-03-23 09:05:55 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-04-03 21:42:55 +0300 |
commit | 3380ee716d00ce65441166f80c2f2c7313da9b9c (patch) | |
tree | 01251d8c11efb0d54dfc66def781cc4bcddf2e1e /app/assets/javascripts/diff.js | |
parent | ca6a7f1e9c9296317315249de9b8b3803d1c6ddc (diff) |
Fix container issue when switching parallel "Changes" MR tab before done loading
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/29193
Diffstat (limited to 'app/assets/javascripts/diff.js')
-rw-r--r-- | app/assets/javascripts/diff.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/javascripts/diff.js b/app/assets/javascripts/diff.js index 88180149715..5aa3eb46a69 100644 --- a/app/assets/javascripts/diff.js +++ b/app/assets/javascripts/diff.js @@ -13,10 +13,6 @@ class Diff { $diffFile.each((index, file) => new gl.ImageFile(file)); - if (this.diffViewType() === 'parallel') { - $('.content-wrapper .container-fluid').removeClass('container-limited'); - } - if (!isBound) { $(document) .on('click', '.js-unfold', this.handleClickUnfold.bind(this)) |