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

Function toggleWardrivingOnBoot

web/scripts/ragnar_modern.js:17661–17678  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17659 repairBtn.classList.toggle('cursor-not-allowed', busy);
17660 }
17661
17662 // Reinstall is always offered (even when Healthy) as a guaranteed clean rebuild.
17663 const reinstallBtn = document.getElementById('pwn-reinstall-btn');
17664 if (reinstallBtn) {
17665 reinstallBtn.disabled = busy;
17666 reinstallBtn.textContent = busy ? 'Reinstalling…' : 'Reinstall (clean)';
17667 reinstallBtn.classList.toggle('opacity-70', busy);
17668 reinstallBtn.classList.toggle('cursor-not-allowed', busy);
17669 }
17670}
17671
17672function updatePwnButtons() {
17673 // Show install card only when not installed, swap card only when installed
17674 const installCard = document.getElementById('pwn-install-card');
17675 if (installCard) {
17676 installCard.style.display = pwnStatus.installed ? 'none' : '';
17677 }
17678 const swapCard = document.getElementById('pwn-swap-card');
17679 if (swapCard) {
17680 swapCard.style.display = pwnStatus.installed ? '' : 'none';
17681 }

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected