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
iv
gitlab-ce
Commits
f3edea7e
Commit
f3edea7e
authored
Jun 22, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed network graph keyboard nav
parent
d92a22c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
app/assets/javascripts/graph.js
app/assets/javascripts/graph.js
+2
-1
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+0
-1
app/assets/stylesheets/gitlab_bootstrap.scss
app/assets/stylesheets/gitlab_bootstrap.scss
+0
-1
No files found.
app/assets/javascripts/graph.js
View file @
f3edea7e
function
initGraphNav
()
{
function
initGraphNav
()
{
$
(
"
body
"
).
keydown
(
function
(
e
)
{
$
(
"
.graph svg
"
).
css
(
"
position
"
,
"
relative
"
);
$
(
"
body
"
).
bind
(
"
keyup
"
,
function
(
e
)
{
if
(
e
.
keyCode
==
37
)
{
// left
if
(
e
.
keyCode
==
37
)
{
// left
$
(
"
.graph svg
"
).
animate
({
left
:
"
+=400
"
});
$
(
"
.graph svg
"
).
animate
({
left
:
"
+=400
"
});
}
else
if
(
e
.
keyCode
==
39
)
{
// right
}
else
if
(
e
.
keyCode
==
39
)
{
// right
...
...
app/assets/stylesheets/common.scss
View file @
f3edea7e
...
@@ -702,4 +702,3 @@ li.note {
...
@@ -702,4 +702,3 @@ li.note {
}
}
}
}
}
}
app/assets/stylesheets/gitlab_bootstrap.scss
View file @
f3edea7e
...
@@ -579,4 +579,3 @@ ul.breadcrumb {
...
@@ -579,4 +579,3 @@ ul.breadcrumb {
border-top
:
1px
solid
#eee
;
border-top
:
1px
solid
#eee
;
}
}
}
}
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