Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
23b0eeca
Commit
23b0eeca
authored
Mar 11, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed un-used function call
parent
f0f6723f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/application.js.coffee
app/assets/javascripts/application.js.coffee
+3
-3
No files found.
app/assets/javascripts/application.js.coffee
View file @
23b0eeca
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment