(d,i)
| 180 | } |
| 181 | |
| 182 | function hideFootnote(d,i) { |
| 183 | var popup = d3.select(this.parentElement).select(".fn-popup"); |
| 184 | if(!popup.classed("stick")) { |
| 185 | popup |
| 186 | .transition().duration(300) |
| 187 | .style("opacity", 0) |
| 188 | .transition().duration(0) |
| 189 | .style("display", "none"); |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | // toggle stickiness |
| 194 | function toggleFootnote(d,i) { |
nothing calls this directly
no outgoing calls
no test coverage detected