Fixed network graph keyboard nav
This commit is contained in:
parent
d92a22c9e6
commit
f3edea7ed7
|
@ -1,5 +1,6 @@
|
|||
function initGraphNav() {
|
||||
$("body").keydown(function(e) {
|
||||
$(".graph svg").css("position", "relative");
|
||||
$("body").bind("keyup", function(e) {
|
||||
if(e.keyCode == 37) { // left
|
||||
$(".graph svg").animate({ left: "+=400" });
|
||||
} else if(e.keyCode == 39) { // right
|
||||
|
|
|
@ -702,4 +702,3 @@ li.note {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -579,4 +579,3 @@ ul.breadcrumb {
|
|||
border-top:1px solid #eee;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue