diff options
| author | Alon Levy <alon@pobox.com> | 2015-03-09 16:08:37 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-03-09 16:08:37 +0200 |
| commit | da6c1f39fc247715804fe346ec6e6d3a79deff4f (patch) | |
| tree | f68bb058ea1319c1b255a7351492b6596fe18bfc /src/client/view/graph_view.js | |
| parent | f80ebf34d1a5feb01c09eb8685994c2d78030fab (diff) | |
client/graph_view: remove extra useless 'a' element on nodes
Diffstat (limited to 'src/client/view/graph_view.js')
| -rw-r--r-- | src/client/view/graph_view.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 7c9bf189..97830889 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -434,16 +434,12 @@ function GraphView(spec) { noderef = nodeEnter.insert('a') .attr("class", "nodeurl graph") .attr("transform", "translate(10,-7)") + .attr("dy", node_text_dy); noderef.insert("image") .attr("width", "14") .attr("height", "14") .attr("xlink:href", "/static/img/url-icon.png"); - noderef_a = noderef.insert("a") - noderef_a.insert("text") - .attr("class", "nodetext graph") - .attr("dy", node_text_dy); - var urlValid = function(d) { return d.url !== undefined && d.url !== null && d.url.length > 0; }; |
