diff --git a/lib/forcegraph.js b/lib/forcegraph.js index 1c3b9da..3ac948d 100644 --- a/lib/forcegraph.js +++ b/lib/forcegraph.js @@ -494,11 +494,11 @@ define(["d3"], function (d3) { .translate([sidebar.getWidth(), 0]) canvas = d3.select(el) - .append("canvas") .attr("tabindex", 1) - .on("click", onClick) .on("keypress", keyboardZoom(zoomBehavior)) .call(zoomBehavior) + .append("canvas") + .on("click", onClick) .call(draggableNode) .node()