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

Function normalizeScore

deployments/desktop/static/desktop.js:1569–1574  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1567 }
1568
1569 function restoreProfileDraft(draft = {}) {
1570 Object.entries(draft).forEach(([id, value]) => {
1571 if (id === "resetProfile") return;
1572 if ($(id)) $(id).value = value;
1573 });
1574 if ($("resetProfile") && Object.prototype.hasOwnProperty.call(draft, "resetProfile")) {
1575 $("resetProfile").checked = Boolean(draft.resetProfile);
1576 }
1577 }

Callers 2

renderPushFunction · 0.85
wikiEvidenceMetaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected