Skip to content

Commit

Permalink
bugfix: make links clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Lossen committed Nov 23, 2017
1 parent 893d363 commit c697e5b
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Feel free to use and adapt it for your own purposes.

```html
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="http://zalando.github.io/tech-radar/release/radar-0.3.js"></script>
<script src="http://zalando.github.io/tech-radar/release/radar-0.4.js"></script>
```

2. insert an empty `svg` tag:
Expand Down
2 changes: 1 addition & 1 deletion docs/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function radar_visualization(config) {
blips.each(function(d) {
var blip = d3.select(this);
if (!config.print_layout && d.active && d.hasOwnProperty("link")) {
blip.append("a")
blip = blip.append("a")
.attr("xlink:href", d.link);
}
if (d.moved > 0) {
Expand Down
Loading

0 comments on commit c697e5b

Please sign in to comment.