MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / closeTrafficHostModal

Function closeTrafficHostModal

web/scripts/ragnar_modern.js:16728–16734  ·  view source on GitHub ↗

* Close traffic host detail modal

()

Source from the content-addressed store, hash-verified

16726
16727 html += '</div>';
16728 document.getElementById('attack-logs-container').innerHTML = html;
16729}
16730
16731function 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');

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected