summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-04-12 17:29:26 -0400
committerBryce Johnson <bryce@gitlab.com>2017-04-12 17:29:26 -0400
commitbb2d8c2bd1482756960479961db50c1a5e1c2dba (patch)
tree31cf17b0079c623daa88b8935fdbeb28fc4571a8
parent6e366996673af2a439557e61cee4bafcbe6c0df8 (diff)
downloadgitlab-ce-big-diff-perf.tar.gz
Comment out breakpoint recalc.big-diff-perf
-rw-r--r--app/assets/javascripts/main.js12
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();