* Close traffic host detail modal
()
| 16726 | |
| 16727 | html += '</div>'; |
| 16728 | document.getElementById('attack-logs-container').innerHTML = html; |
| 16729 | } |
| 16730 | |
| 16731 | function toggleAttackHost(safeId) { |
| 16732 | const container = document.getElementById(`attack-host-${safeId}`); |
| 16733 | const chevron = document.getElementById(`attack-chevron-${safeId}`); |
| 16734 | if (!container || !chevron) return; |
| 16735 | if (container.classList.contains('hidden')) { |
| 16736 | container.classList.remove('hidden'); |
| 16737 | chevron.classList.add('rotate-180'); |