(d,i)
| 192 | |
| 193 | // toggle stickiness |
| 194 | function toggleFootnote(d,i) { |
| 195 | d3.event.preventDefault(); |
| 196 | var popup = d3.select(this.parentElement).select(".fn-popup") |
| 197 | var isStuck = !popup.classed("stick"); |
| 198 | d3.select(this).classed("stick", isStuck); |
| 199 | popup.classed("stick", isStuck); |
| 200 | popup.classed("stick") ? showFootnote.call(this) : hideFootnote.call(this) |
| 201 | } |
| 202 | |
| 203 | } |
| 204 |
nothing calls this directly
no outgoing calls
no test coverage detected