(e)
| 21 | } |
| 22 | |
| 23 | function toggleSwatchLuminosity(e) { |
| 24 | let on = e.target.checked; |
| 25 | let wrapper = document.getElementById('swatchesOutputs'); |
| 26 | |
| 27 | if (!on) { |
| 28 | wrapper.classList.add('hideSwatchLuminosity'); |
| 29 | } else { |
| 30 | wrapper.classList.remove('hideSwatchLuminosity'); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | window.toggleSwatchContrast = toggleSwatchContrast; |
| 35 | window.toggleSwatchLuminosity = toggleSwatchLuminosity; |
nothing calls this directly
no outgoing calls
no test coverage detected