(tt)
| 32 | if (elt.parentNode) elt.parentNode.removeChild(elt); |
| 33 | } |
| 34 | function hideTooltip(tt) { |
| 35 | if (!tt.parentNode) return; |
| 36 | if (tt.style.opacity == null) rm(tt); |
| 37 | tt.style.opacity = 0; |
| 38 | setTimeout(function() { rm(tt); }, 600); |
| 39 | } |
| 40 | |
| 41 | function showTooltipFor(e, content, node) { |
| 42 | var tooltip = showTooltip(e, content); |