(path)
| 9088 | // Add click handlers to all tag dropdowns |
| 9089 | document.querySelectorAll('.tags-input-container select').forEach(dropdown => { |
| 9090 | dropdown.addEventListener('mousedown', async (event) => { |
| 9091 | // Prevent the default dropdown from showing immediately |
| 9092 | event.preventDefault(); |
| 9093 | |
| 9094 | // Refresh the dropdown content |
| 9095 | await refreshTagDropdown(dropdown); |
| 9096 | |
| 9097 | // Show the dropdown |
no outgoing calls
no test coverage detected