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

Function getSelectAll

public/js/fileListView.js:3425–3431  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3423function wireSelectAll(fileListContent) {
3424 // Be flexible about how the header checkbox is identified
3425 const getSelectAll = () => fileListContent.querySelector(
3426 'thead input[type="checkbox"].select-all, ' +
3427 'thead .select-all input[type="checkbox"], ' +
3428 'thead input#selectAll, ' +
3429 'thead input#selectAllCheckbox, ' +
3430 'thead input[data-select-all]'
3431 );
3432 const selectAll = getSelectAll();
3433 if (!selectAll) return;
3434 if (selectAll.__wiredSelectAll) return;

Callers 2

wireSelectAllFunction · 0.85
syncHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected