From bb2d8c2bd1482756960479961db50c1a5e1c2dba Mon Sep 17 00:00:00 2001 From: Bryce Johnson Date: Wed, 12 Apr 2017 17:29:26 -0400 Subject: Comment out breakpoint recalc. --- app/assets/javascripts/main.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'app/assets/javascripts/main.js') 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(); -- cgit v1.2.1