BigW Consortium Gitlab

Commit f3edea7e by randx

Fixed network graph keyboard nav

parent d92a22c9
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
......
...@@ -702,4 +702,3 @@ li.note { ...@@ -702,4 +702,3 @@ li.note {
} }
} }
} }
...@@ -579,4 +579,3 @@ ul.breadcrumb { ...@@ -579,4 +579,3 @@ ul.breadcrumb {
border-top:1px solid #eee; border-top:1px solid #eee;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment