diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-04-12 17:29:26 -0400 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-04-12 17:29:26 -0400 |
commit | bb2d8c2bd1482756960479961db50c1a5e1c2dba (patch) | |
tree | 31cf17b0079c623daa88b8935fdbeb28fc4571a8 | |
parent | 6e366996673af2a439557e61cee4bafcbe6c0df8 (diff) | |
download | gitlab-ce-big-diff-perf.tar.gz |
Comment out breakpoint recalc.big-diff-perf
-rw-r--r-- | app/assets/javascripts/main.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index 521281bdd16..a2eea65297e 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -346,12 +346,12 @@ $(function () { } }); fitSidebarForSize = function () { - var oldBootstrapBreakpoint; - oldBootstrapBreakpoint = bootstrapBreakpoint; - bootstrapBreakpoint = bp.getBreakpointSize(); - if (bootstrapBreakpoint !== oldBootstrapBreakpoint) { - return $document.trigger('breakpoint:change', [bootstrapBreakpoint]); - } + // var oldBootstrapBreakpoint; + // oldBootstrapBreakpoint = bootstrapBreakpoint; + // bootstrapBreakpoint = bp.getBreakpointSize(); + // if (bootstrapBreakpoint !== oldBootstrapBreakpoint) { + // return $document.trigger('breakpoint:change', [bootstrapBreakpoint]); + // } }; $window.off('resize.app').on('resize.app', function () { return fitSidebarForSize(); |