BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
graph.js
app/assets/javascripts/graph.js
+2
-1
common.scss
app/assets/stylesheets/common.scss
+0
-1
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