(targetId)
| 10 | */ |
| 11 | |
| 12 | function toggleTooltip(targetId) { |
| 13 | let tooltip = document.getElementById(targetId); |
| 14 | if (!tooltip.classList.contains('is-open')) { |
| 15 | tooltip.classList.add('is-open'); |
| 16 | } else { |
| 17 | tooltip.classList.remove('is-open'); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | window.toggleTooltip = toggleTooltip; |
| 22 |
nothing calls this directly
no outgoing calls
no test coverage detected