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

Function refreshTrafficData

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

Source from the content-addressed store, hash-verified

16547 if (!buttonsContainer) {
16548 return;
16549 }
16550 buttonsContainer.querySelectorAll('button[data-interface]').forEach(button => {
16551 const isActive = button.dataset.interface === activeInterface;
16552 button.classList.remove('bg-Ragnar-500', 'text-white', 'border-Ragnar-400', 'shadow');
16553 button.classList.remove('bg-slate-800', 'text-gray-300', 'border-slate-700');
16554 if (isActive) {
16555 button.classList.add('bg-Ragnar-500', 'text-white', 'border-Ragnar-400', 'shadow');

Callers

nothing calls this directly

Calls 1

loadTrafficAnalysisDataFunction · 0.70

Tested by

no test coverage detected