Commit 23b0eeca authored by Phil Hughes's avatar Phil Hughes

removed un-used function call

parent f0f6723f
...@@ -108,6 +108,9 @@ window.onload = -> ...@@ -108,6 +108,9 @@ window.onload = ->
setTimeout shiftWindow, 100 setTimeout shiftWindow, 100
$ -> $ ->
breakpoints = new Breakpoints()
bootstrapBreakpoint = breakpoints.getBreakpointSize()
$(".nicescroll").niceScroll(cursoropacitymax: '0.4', cursorcolor: '#FFF', cursorborder: "1px solid #FFF") $(".nicescroll").niceScroll(cursoropacitymax: '0.4', cursorcolor: '#FFF', cursorborder: "1px solid #FFF")
# Click a .js-select-on-focus field, select the contents # Click a .js-select-on-focus field, select the contents
...@@ -258,7 +261,6 @@ $ -> ...@@ -258,7 +261,6 @@ $ ->
fitSidebarForSize = -> fitSidebarForSize = ->
oldBootstrapBreakpoint = bootstrapBreakpoint oldBootstrapBreakpoint = bootstrapBreakpoint
checkBootstrapBreakpoints()
bootstrapBreakpoint = breakpoints.getBreakpointSize() bootstrapBreakpoint = breakpoints.getBreakpointSize()
if bootstrapBreakpoint != oldBootstrapBreakpoint if bootstrapBreakpoint != oldBootstrapBreakpoint
$(document).trigger('breakpoint:change', [bootstrapBreakpoint]) $(document).trigger('breakpoint:change', [bootstrapBreakpoint])
...@@ -274,6 +276,4 @@ $ -> ...@@ -274,6 +276,4 @@ $ ->
fitSidebarForSize() fitSidebarForSize()
checkInitialSidebarSize() checkInitialSidebarSize()
breakpoints = new Breakpoints()
bootstrapBreakpoint = breakpoints.getBreakpointSize()
new Aside() new Aside()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment