MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / directReadElements

Function directReadElements

deployments/desktop/static/desktop.js:1632–1637  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

1630 }
1631
1632 function directReadElements(kind) {
1633 return {
1634 button: $(kind === "pdf" ? "readPdfBtn" : "readArxivBtn"),
1635 status: $(kind === "pdf" ? "directPdfStatus" : "directArxivStatus")
1636 };
1637 }
1638
1639 function setDirectReadStatus(kind, type, title, detail = "") {
1640 const { status } = directReadElements(kind);

Callers 2

setDirectReadStatusFunction · 0.85
setDirectReadBusyFunction · 0.85

Calls 1

$Function · 0.70

Tested by

no test coverage detected