MCPcopy Create free account
hub / github.com/BloombergGraphics/whatiscode / hideFootnote

Function hideFootnote

scripts/main.js:182–191  ·  view source on GitHub ↗
(d,i)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected