summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-11 15:13:47 +0000
committerPhil Hughes <me@iamphill.com>2016-03-14 11:39:56 +0000
commit23b0eeca280de8c1f36f863396cb0aee912c56b9 (patch)
tree09fd872710c2d57bd028382dacc0ca12250c0d67
parentf0f6723fe02bfb1a79c1cbefed156a420dddc352 (diff)
downloadgitlab-ce-23b0eeca280de8c1f36f863396cb0aee912c56b9.tar.gz
removed un-used function call
-rw-r--r--app/assets/javascripts/application.js.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/application.js.coffee b/app/assets/javascripts/application.js.coffee
index 9e114a80c27..beee6f2ec6d 100644
--- a/app/assets/javascripts/application.js.coffee
+++ b/app/assets/javascripts/application.js.coffee
@@ -108,6 +108,9 @@ window.onload = ->
setTimeout shiftWindow, 100
$ ->
+ breakpoints = new Breakpoints()
+ bootstrapBreakpoint = breakpoints.getBreakpointSize()
+
$(".nicescroll").niceScroll(cursoropacitymax: '0.4', cursorcolor: '#FFF', cursorborder: "1px solid #FFF")
# Click a .js-select-on-focus field, select the contents
@@ -258,7 +261,6 @@ $ ->
fitSidebarForSize = ->
oldBootstrapBreakpoint = bootstrapBreakpoint
- checkBootstrapBreakpoints()
bootstrapBreakpoint = breakpoints.getBreakpointSize()
if bootstrapBreakpoint != oldBootstrapBreakpoint
$(document).trigger('breakpoint:change', [bootstrapBreakpoint])
@@ -274,6 +276,4 @@ $ ->
fitSidebarForSize()
checkInitialSidebarSize()
- breakpoints = new Breakpoints()
- bootstrapBreakpoint = breakpoints.getBreakpointSize()
new Aside()