MCPcopy Create free account
hub / github.com/error311/FileRise / updateRowHighlight

Function updateRowHighlight

public/js/domUtils.js:371–379  ·  view source on GitHub ↗
(checkbox)

Source from the content-addressed store, hash-verified

369}
370
371export function updateRowHighlight(checkbox) {
372 const row = checkbox.closest('tr');
373 if (!row) return;
374 if (checkbox.checked) {
375 row.classList.add('row-selected', 'selected');
376 } else {
377 row.classList.remove('row-selected', 'selected');
378 }
379}
380
381export function toggleRowSelection(event, fileName) {
382 // Prevent default text selection when shift is held.

Callers 11

toggleAllCheckboxesFunction · 0.85
clearAllSelectionsFunction · 0.85
toggleRowSelectionFunction · 0.85
clearFolderSelectionsFunction · 0.85
clearFileSelectionsFunction · 0.85
applySelectAllFunction · 0.85
renderFileTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected