MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / toggleRow

Function toggleRow

webUi/scripts.js:3–3  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

1function _(e) { return document.getElementById(e); }
2function toggleMenu(){_('menu').classList.toggle('open')}
3function toggleRow(b){const r=b.closest('tr').nextElementSibling;r.style.display=r.style.display==='none'?'table-row':'none'}
4const editableExts = new Set(['txt','ini','conf','c','cpp','h','hpp','js','css','htm','html','ts']);
5function isEditable(name) { return editableExts.has(name.split('.').pop().toLowerCase()); }
6let editingFile = '';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected