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

Function findRow

public/js/fileListView.js:8600–8608  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8598 if (!name) return;
8599
8600 const findRow = () => {
8601 const nodes = document.querySelectorAll('#fileList tr[data-file-name], .gallery-card[data-file-name]');
8602 for (const row of nodes) {
8603 const raw = row.getAttribute('data-file-name') || '';
8604 const decoded = decodeHtmlEntities(raw);
8605 if (raw === name || decoded === name) return row;
8606 }
8607 return null;
8608 };
8609
8610 try {
8611 const row = findRow();

Callers 1

Calls 1

decodeHtmlEntitiesFunction · 0.85

Tested by

no test coverage detected